/* Ordivion V0.9.51.8 – themeunabhängige Download-Fortschrittsanzeige */
.orv-download-generation-toast {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  left: 50%;
  z-index: 100000;
  width: min(460px, calc(100vw - 24px));
  transform: translateX(-50%);
  box-sizing: border-box;
  padding: 11px 13px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: rgba(25, 25, 30, .96);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.orv-download-generation-toast[hidden] {
  display: none !important;
}

.orv-download-generation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.orv-download-generation-head strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .92rem;
}

.orv-download-generation-head span {
  flex: 0 0 auto;
  font-size: .82rem;
  font-weight: 800;
}

.orv-download-generation-message {
  margin-top: 5px;
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, .84);
  font-size: .8rem;
  line-height: 1.35;
}

.orv-download-generation-track {
  height: 5px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
}

.orv-download-generation-track > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #d00000;
  transition: width .2s ease;
}

.orv-download-generation-toast[data-state="finished"]
.orv-download-generation-track > span {
  background: #52b66e;
}

.orv-download-generation-toast[data-state="failed"]
.orv-download-generation-track > span {
  background: #ef5656;
}

@media (max-width: 560px) {
  .orv-download-generation-toast {
    top: max(8px, env(safe-area-inset-top));
    width: calc(100vw - 16px);
    padding: 10px 11px 11px;
    border-radius: 10px;
  }
}
