body.r10-boot-enabled {
  overflow: hidden;
  background: #071511;
}

.r10-boot {
  position: fixed;
  z-index: 2000;
  inset: 0;
  overflow: hidden;
  background: #071511;
  color: #f4f8f5;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  opacity: 1;
  transition: opacity 0.78s cubic-bezier(0.22, 0.72, 0.2, 1);
}

.r10-boot::before,
.r10-boot::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.r10-boot::before {
  background:
    linear-gradient(90deg, rgba(244, 248, 245, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(244, 248, 245, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 70%);
  opacity: 0.32;
}

.r10-boot::after {
  background: linear-gradient(90deg, rgba(7, 21, 17, 0.72), transparent 35%, transparent 65%, rgba(7, 21, 17, 0.72));
}

.r10-boot-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.95;
}

.r10-boot-frame {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(430px, calc(100% - 48px));
  transform: translate(-50%, -50%);
  text-align: center;
}

.r10-boot-logo {
  display: block;
  width: min(184px, 52vw);
  height: auto;
  margin: 0 auto 24px;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.r10-boot-kicker {
  margin: 0 0 38px;
  color: rgba(244, 248, 245, 0.52);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.r10-boot-status-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  color: rgba(244, 248, 245, 0.76);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
}

.r10-boot-percent {
  flex: 0 0 auto;
  color: #65e2af;
  font-variant-numeric: tabular-nums;
}

.r10-boot-progress {
  width: 100%;
  height: 2px;
  margin-top: 11px;
  overflow: hidden;
  background: rgba(244, 248, 245, 0.19);
}

.r10-boot-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: #65e2af;
  box-shadow: 0 0 18px rgba(101, 226, 175, 0.62);
  transform: scaleX(0);
  transform-origin: left center;
}

.r10-boot-skip {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 26px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: rgba(244, 248, 245, 0.58);
  cursor: pointer;
  font: 600 10px/1.4 Inter, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.r10-boot-skip::after {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 4px;
  background: #65e2af;
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.25s ease;
}

.r10-boot-skip:hover,
.r10-boot-skip:focus-visible {
  color: #f4f8f5;
}

.r10-boot-skip:hover::after,
.r10-boot-skip:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.r10-boot-skip:focus-visible {
  outline: 1px solid #65e2af;
  outline-offset: 5px;
}

.r10-boot.is-releasing {
  opacity: 0;
  pointer-events: none;
}

.r10-boot.is-disposed {
  display: none;
}

.r10-boot.is-releasing .r10-boot-frame {
  opacity: 0;
  transform: translate(-50%, calc(-50% - 12px));
  transition: opacity 0.45s ease, transform 0.72s cubic-bezier(0.22, 0.72, 0.2, 1);
}

.r10-boot.is-releasing .r10-boot-skip {
  opacity: 0;
  transition: opacity 0.2s ease;
}

@media (max-width: 680px) {
  .r10-boot-frame { width: calc(100% - 36px); }
  .r10-boot-logo { width: 156px; margin-bottom: 20px; }
  .r10-boot-kicker { margin-bottom: 32px; font-size: 8px; }
  .r10-boot-skip { right: 18px; bottom: max(16px, env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  body.r10-boot-enabled { overflow: auto; }
  .r10-boot, .r10-boot-frame, .r10-boot-skip { transition: none; }
  .r10-boot::before { display: none; }
}
