
/* Download feedback layer: visual confirmation only, not fake transfer progress. */
.download-feedback {
  position: fixed;
  z-index: 80;
  right: clamp(14px, 3vw, 32px);
  bottom: clamp(14px, 3vw, 30px);
  width: min(390px, calc(100vw - 28px));
  border: 1px solid rgba(255, 137, 166, .32);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(196, 163, 255, .17), transparent 42%),
    linear-gradient(145deg, rgba(31, 24, 34, .98), rgba(15, 14, 20, .98));
  box-shadow: 0 22px 65px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06);
  padding: 17px 18px 15px;
  color: #f8f3f6;
  opacity: 0;
  transform: translateY(22px) scale(.97);
  pointer-events: none;
  transition: opacity .24s ease, transform .34s cubic-bezier(.22,1,.36,1), border-color .24s ease;
  overflow: hidden;
}
.download-feedback[aria-hidden="false"] {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.download-feedback::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, #ff6688, #c9a7ff, #82dbf0, #ff6688);
  background-size: 220% 100%;
  animation: conake-download-scan 1.5s linear infinite;
}
.download-feedback.is-ready { border-color: rgba(130, 230, 196, .42); }
.download-feedback.is-ready::after {
  background: linear-gradient(90deg, transparent, #82e6c4, transparent);
  animation: conake-download-finish .55s ease both;
}
.download-feedback-top { display:flex; align-items:center; gap:13px; }
.download-feedback-icon {
  position:relative;
  width:43px;height:43px;flex:none;
  display:grid;place-items:center;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.1);
  background:linear-gradient(145deg,rgba(255,98,135,.18),rgba(194,157,255,.13));
  color:#ff9db3;
  box-shadow:0 0 24px rgba(255,89,123,.12);
}
.download-feedback-icon svg { width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }
.download-feedback:not(.is-ready) .download-feedback-icon svg { animation: conake-download-bob .8s ease-in-out infinite alternate; }
.download-feedback.is-ready .download-feedback-icon { color:#8de8c8; }
.download-feedback-copy { min-width:0; flex:1; }
.download-feedback-kicker {
  margin:0 0 4px;
  color:#ff9db3;
  font:700 9px/1.3 var(--mono, "Courier New", monospace);
  letter-spacing:.12em;
  text-transform:uppercase;
}
.download-feedback.is-ready .download-feedback-kicker { color:#8de8c8; }
.download-feedback-title { margin:0;font-size:15px;line-height:1.3; }
.download-feedback-file {
  margin:5px 0 0;
  color:#aaa1ad;
  font:500 10px/1.45 var(--mono, "Courier New", monospace);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.download-feedback-note { margin:11px 0 0;color:#c9c2cc;font-size:11px;line-height:1.55; }
.download.is-downloading {
  border-color: rgba(255, 137, 166, .34);
  box-shadow: 0 0 0 1px rgba(255, 137, 166, .08), 0 15px 38px rgba(0,0,0,.18);
}
@keyframes conake-download-scan { to { background-position:220% 0; } }
@keyframes conake-download-bob { to { transform:translateY(3px); } }
@keyframes conake-download-finish {
  from { opacity:0; transform:scaleX(.3); }
  to { opacity:1; transform:scaleX(1); }
}
@media(max-width:600px) {
  .download-feedback { left:14px;right:14px;bottom:14px;width:auto; }
}
@media(prefers-reduced-motion:reduce) {
  .download-feedback,.download-feedback::after,.download-feedback-icon svg { animation:none!important;transition-duration:1ms!important; }
}
@media(forced-colors:active) {
  .download-feedback { border:2px solid CanvasText;background:Canvas;color:CanvasText; }
  .download-feedback::after { display:none; }
}
