#_tdd_boot {
  position: fixed;
  z-index: 10000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: auto;
  background: #f7f9fc;
  color: #8a94a6;
  font: 14px/1.7 -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  text-align: center;
  opacity: 0;
  animation: _tddBootIn .28s ease .35s forwards;
}

@keyframes _tddBootIn { to { opacity: 1 } }

#_tdd_boot_progress { width: min(240px, 70vw); margin: 0 auto; }
#_tdd_boot_track { height: 6px; overflow: hidden; border-radius: 999px; background: rgba(14, 107, 238, .16); }
#_tdd_boot_fill { width: 8%; height: 100%; border-radius: inherit; background: #0e6bee; transition: width .2s ease; }
#_tdd_boot_percent { margin-top: 12px; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
  #_tdd_boot { animation: none; opacity: 1; }
  #_tdd_boot_fill { transition: none; }
}

#_tdd_boot_fail { display: none }
#_tdd_boot a { color: #0e6bee; text-decoration: underline; overflow-wrap: anywhere }
#_tdd_boot.is-error #_tdd_boot_progress { display: none }
#_tdd_boot.is-error #_tdd_boot_fail { display: block }
#_tdd_boot.is-slow #_tdd_boot_fail { display: block; margin-top: 20px }

#_tdd_boot_title {
  margin-bottom: 6px;
  color: #3d4757;
  font-size: 16px;
  font-weight: 600;
}

#_tdd_boot_retry {
  display: inline-block;
  margin-top: 18px;
  padding: 9px 30px;
  border: 0;
  border-radius: 999px;
  background: #0e6bee;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

#_tdd_boot_detail {
  margin-top: 16px;
  color: #c3cad6;
  font-size: 11px;
  line-height: 1.5;
  word-break: break-all;
}

@media (prefers-color-scheme: dark) {
  #_tdd_boot { background: #121723; color: #7b8699 }
  #_tdd_boot_title { color: #c6cedb }
  #_tdd_boot_detail { color: #4a5567 }
}

#_tdd_boot.is-light { background: #f7f9fc; color: #8a94a6 }
#_tdd_boot.is-light #_tdd_boot_title { color: #3d4757 }
#_tdd_boot.is-light #_tdd_boot_detail { color: #c3cad6 }
#_tdd_boot.is-dark { background: #121723; color: #7b8699 }
#_tdd_boot.is-dark #_tdd_boot_title { color: #c6cedb }
#_tdd_boot.is-dark #_tdd_boot_detail { color: #4a5567 }
