.gcd-notification-stack {
  position: fixed;
  z-index: 11050;
  top: max(1rem, env(safe-area-inset-top));
  right: 1rem;
  display: grid;
  gap: .75rem;
  width: min(390px, calc(100vw - 2rem));
  pointer-events: none;
}

.gcd-notification-toast {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: .75rem;
  align-items: start;
  padding: .95rem;
  overflow: hidden;
  color: #f8fafc;
  background: linear-gradient(145deg, #111827, #1f2937);
  border: 1px solid rgba(255,255,255,.14);
  border-left: 4px solid #d79a16;
  border-radius: 16px;
  box-shadow: 0 20px 55px rgba(15,23,42,.34);
  opacity: 0;
  transform: translateY(-12px) scale(.98);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: auto;
}

.gcd-notification-toast.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.gcd-notification-toast.is-aged { border-left-color: #ef4444; }
.gcd-notification-toast__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #111827;
  background: #f3b72b;
  border-radius: 13px;
  font-size: 1.15rem;
}
.gcd-notification-toast.is-aged .gcd-notification-toast__icon { color: #fff; background: #dc2626; }
.gcd-notification-toast__content { min-width: 0; }
.gcd-notification-toast__content small { display: block; color: #f3b72b; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gcd-notification-toast__content strong { display: block; margin-top: .12rem; font-size: .98rem; line-height: 1.3; }
.gcd-notification-toast__content p { margin: .28rem 0 .55rem; color: #d1d5db; font-size: .83rem; line-height: 1.42; }
.gcd-notification-toast__content a { color: #f8c44d; font-size: .8rem; font-weight: 800; text-decoration: none; }
.gcd-notification-toast__content a:hover { text-decoration: underline; }
.gcd-notification-toast__close { padding: 0 .2rem; color: #9ca3af; background: transparent; border: 0; font-size: 1.35rem; line-height: 1; }

.gcd-push-prompt {
  position: fixed;
  z-index: 11040;
  right: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto auto;
  gap: .75rem;
  align-items: center;
  width: min(520px, calc(100vw - 2rem));
  padding: .85rem;
  color: #111827;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(15,23,42,.24);
}
.gcd-push-prompt__icon { display: grid; place-items: center; width: 44px; height: 44px; background: #fff3cf; border-radius: 14px; font-size: 1.2rem; }
.gcd-push-prompt strong { display: block; font-size: .92rem; }
.gcd-push-prompt p { margin: .18rem 0 0; color: #667085; font-size: .78rem; line-height: 1.35; }
.gcd-push-prompt [data-gcd-enable-push] { padding: .62rem .85rem; color: #fff; background: #111827; border: 0; border-radius: 11px; font-size: .8rem; font-weight: 800; white-space: nowrap; }
.gcd-push-prompt__dismiss { color: #667085; background: transparent; border: 0; font-size: 1.35rem; }
[data-gcd-enable-push].is-enabled { color: #14532d !important; background: #dcfce7 !important; border-color: #86efac !important; }

@media (max-width: 640px) {
  .gcd-notification-stack { top: auto; right: .65rem; bottom: calc(.65rem + env(safe-area-inset-bottom)); width: calc(100vw - 1.3rem); }
  .gcd-push-prompt { right: .65rem; bottom: calc(.65rem + env(safe-area-inset-bottom)); grid-template-columns: 40px 1fr auto; width: calc(100vw - 1.3rem); }
  .gcd-push-prompt__icon { width: 40px; height: 40px; }
  .gcd-push-prompt [data-gcd-enable-push] { grid-column: 2 / 4; }
  .gcd-push-prompt__dismiss { grid-column: 3; grid-row: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .gcd-notification-toast { transition: none; }
}
