.writeup-toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-200%);
  max-width: 520px;
  width: 90%;
  background: linear-gradient(135deg, rgba(30, 30, 50, 0.95), rgba(40, 30, 60, 0.95));
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  z-index: 10000;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(168, 85, 247, 0.15);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}
.writeup-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.writeup-toast.hide {
  transform: translateX(-50%) translateY(-200%);
  opacity: 0;
}
.writeup-toast-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}
.writeup-toast-content {
  flex: 1;
  color: #e2e8f0;
  font-family: 'Inter', sans-serif;
}
.writeup-toast-content strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #c084fc;
  margin-bottom: 4px;
}
.writeup-toast-content p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  color: #a0aec0;
}
.writeup-toast-close {
  background: none;
  border: none;
  color: #64748b;
  font-size: 20px;
  cursor: pointer;
  padding: 0 0 0 4px;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.2s;
}
.writeup-toast-close:hover {
  color: #e2e8f0;
}
@media (max-width: 480px) {
  .writeup-toast {
    width: 95%;
    top: 70px;
  }
}
