.public-boot-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    padding: max(18px, env(safe-area-inset-top, 0px)) 18px max(18px, env(safe-area-inset-bottom, 0px));
    background:
        radial-gradient(circle at 24% 16%, rgba(77, 235, 255, .18), transparent 32%),
        radial-gradient(circle at 78% 6%, rgba(1, 69, 242, .28), transparent 34%),
        linear-gradient(180deg, #08182b 0%, #061224 56%, #020817 100%);
    color: #f8fafc;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s ease, transform .24s ease;
}

html.hubs-public-booting .public-boot-loader {
    opacity: 1;
    pointer-events: auto;
}

html.hubs-public-booting body > :not(.public-boot-loader) {
    visibility: hidden;
}

.public-boot-card {
    position: relative;
    width: min(330px, 100%);
    overflow: hidden;
    display: grid;
    justify-items: center;
    gap: 11px;
    padding: 24px 22px 22px;
    border: 1px solid rgba(77, 235, 255, .2);
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% -10%, rgba(77, 235, 255, .16), transparent 48%),
        linear-gradient(145deg, rgba(15, 23, 42, .76), rgba(2, 8, 23, .82));
    box-shadow:
        0 30px 95px rgba(0, 0, 0, .42),
        inset 0 1px 0 rgba(255, 255, 255, .08);
    text-align: center;
    transform: translateY(8px) scale(.985);
    animation: public-boot-rise .34s ease forwards;
}

.public-boot-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4debff, #0145f2, transparent);
    opacity: .75;
}

.public-boot-orbit {
    position: relative;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background:
        radial-gradient(circle at center, rgba(77, 235, 255, .16), transparent 62%);
}

.public-boot-orbit::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 2px solid rgba(77, 235, 255, .16);
    border-top-color: #4debff;
    border-right-color: #0145f2;
    border-radius: inherit;
    animation: public-boot-spin .78s linear infinite;
}

.public-boot-orbit i {
    position: absolute;
    --boot-x: 0px;
    --boot-y: 0px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #4debff;
    box-shadow: 0 0 20px rgba(77, 235, 255, .62);
    transform: translate(var(--boot-x), var(--boot-y)) scale(.88);
    animation: public-boot-pulse .95s ease-in-out infinite;
}

.public-boot-orbit i:nth-child(1) {
    --boot-x: -17px;
    background: #0145f2;
}

.public-boot-orbit i:nth-child(2) {
    --boot-y: -17px;
    animation-delay: .14s;
}

.public-boot-orbit i:nth-child(3) {
    --boot-x: 17px;
    background: #38bdf8;
    animation-delay: .28s;
}

.public-boot-card strong {
    margin-top: 2px;
    color: #f8fafc;
    font-size: .95rem;
    font-weight: 900;
    letter-spacing: -.035em;
}

.public-boot-card p {
    max-width: 230px;
    margin: 0;
    color: #9fb0c7;
    font-size: .68rem;
    font-weight: 560;
    line-height: 1.45;
}

.public-boot-progress {
    width: min(176px, 62vw);
    height: 4px;
    overflow: hidden;
    margin-top: 2px;
    border-radius: 999px;
    background: rgba(148, 163, 184, .16);
}

.public-boot-progress span {
    width: 44%;
    height: 100%;
    display: block;
    border-radius: inherit;
    background: linear-gradient(90deg, #0145f2, #4debff);
    animation: public-boot-progress 1s ease-in-out infinite alternate;
}

@keyframes public-boot-spin {
    to { transform: rotate(360deg); }
}

@keyframes public-boot-pulse {
    0%, 100% { opacity: .55; transform: translate(var(--boot-x), var(--boot-y)) scale(.76); }
    50% { opacity: 1; transform: translate(var(--boot-x), var(--boot-y)) scale(1); }
}

@keyframes public-boot-progress {
    from { transform: translateX(-90%); }
    to { transform: translateX(220%); }
}

@keyframes public-boot-rise {
    to { transform: translateY(0) scale(1); }
}

html[data-reduce-motion="1"] .public-boot-loader,
html[data-reduce-motion="1"] .public-boot-card {
    transition: none;
    animation: none;
}

html[data-reduce-motion="1"] .public-boot-orbit::before,
html[data-reduce-motion="1"] .public-boot-orbit i,
html[data-reduce-motion="1"] .public-boot-progress span {
    animation: none;
}
