/* Authentic iOS Push / Banner Notification (frosted material, swipe-to-dismiss) */
.ios-notif {
  position: absolute;
  top: calc(10px + env(safe-area-inset-top));
  left: 10px;
  right: 10px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border-radius: 20px;
  background: var(--notif-bg);
  border: 1px solid var(--notif-border);
  backdrop-filter: blur(26px) saturate(190%);
  -webkit-backdrop-filter: blur(26px) saturate(190%);
  box-shadow: var(--notif-shadow);
  color: var(--ink-primary);
  opacity: 0;
  transform: translate3d(0, -110%, 0) scale(0.95);
  pointer-events: none;
  touch-action: none;
  user-select: none;
  cursor: grab;
  will-change: transform, opacity;
}

.ios-notif.is-visible {
  pointer-events: auto;
}

.ios-notif:active {
  cursor: grabbing;
}

.ios-notif-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--notif-icon-bg);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.ios-notif-icon svg {
  width: 19px;
  height: 19px;
}

.ios-notif-content {
  min-width: 0;
  flex: 1;
}

.ios-notif-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 1px;
}

.ios-notif-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ios-notif-time {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-secondary);
  flex-shrink: 0;
}

.ios-notif-body {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 600px) {
  .ios-notif {
    position: fixed;
  }
}
