:root {
  --arc-safe-top: env(safe-area-inset-top, 0px);
  --arc-safe-right: env(safe-area-inset-right, 0px);
  --arc-safe-bottom: env(safe-area-inset-bottom, 0px);
  --arc-safe-left: env(safe-area-inset-left, 0px);
}

html.arc-booting,
body.arc-booting {
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

#arcBootV922 {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  overflow: hidden;
  color: #f6dfa0;
  background:
    radial-gradient(circle at 50% 28%, rgba(45, 31, 91, .48), transparent 38%),
    linear-gradient(150deg, #05030a 0%, #090812 52%, #03050a 100%);
  isolation: isolate;
}

#arcBootV922 .arc-stage {
  position: absolute;
  inset: 0;
}

#arcBootV922 .arc-stage[hidden] {
  display: none !important;
}

#arcBootV922 .arc-loader-stage {
  display: grid;
  place-items: center;
  padding:
    calc(24px + var(--arc-safe-top))
    calc(20px + var(--arc-safe-right))
    calc(24px + var(--arc-safe-bottom))
    calc(20px + var(--arc-safe-left));
  box-sizing: border-box;
  text-align: center;
}

#arcBootV922 .arc-loader-card {
  width: min(100%, 410px);
  padding: clamp(28px, 8vw, 42px) clamp(22px, 6vw, 34px);
  box-sizing: border-box;
  border: 1px solid rgba(219, 174, 79, .38);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(17, 18, 30, .95), rgba(7, 8, 15, .94));
  box-shadow:
    0 26px 75px rgba(0, 0, 0, .58),
    inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

#arcBootV922 .arc-loader-rune {
  width: 78px;
  height: 78px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 210, 119, .56);
  border-radius: 50%;
  font-size: 35px;
  animation: arc922Pulse 1.7s ease-in-out infinite;
}

#arcBootV922 h1 {
  margin: 0;
  font: 700 clamp(32px, 9vw, 46px)/.95 Georgia, serif;
  letter-spacing: .05em;
}

#arcBootV922 .arc-status {
  margin: 14px 0 0;
  color: rgba(238, 235, 244, .74);
  font: 600 12px/1.55 system-ui, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

#arcBootV922 .arc-progress-shell {
  height: 10px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgba(240, 205, 124, .25);
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
}

#arcBootV922 .arc-progress-bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8065ff, #64c8ff 54%, #f1c66d);
  box-shadow: 0 0 18px rgba(95, 185, 255, .42);
  transition: width .18s ease;
}

#arcBootV922 .arc-progress-text {
  margin-top: 13px;
  color: rgba(255, 246, 218, .87);
  font: 700 12px/1 system-ui, sans-serif;
  letter-spacing: .08em;
}

#arcBootV922 .arc-video-stage {
  display: grid;
  place-items: center;
  background: #000;
}

#arcBootV922 video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #000;
}

#arcBootV922 .arc-video-start {
  position: absolute;
  left: 50%;
  bottom: calc(28px + var(--arc-safe-bottom));
  transform: translateX(-50%);
  min-width: 190px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(243, 211, 133, .62);
  border-radius: 999px;
  background: rgba(4, 5, 11, .72);
  color: #f8e9bd;
  font: 700 12px/1 system-ui, sans-serif;
  letter-spacing: .12em;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

#arcBootV922 .arc-video-start[hidden] {
  display: none !important;
}

@keyframes arc922Pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 24px rgba(83,159,255,.16); }
  50% { transform: scale(1.07); box-shadow: 0 0 43px rgba(83,159,255,.38); }
}
