html.fibre-crew-blocked,
html.fibre-crew-blocked body {
    overflow: hidden;
    overscroll-behavior: none;
}

.blockUI.fibre-crew-backdrop,
.blockUI.fibre-crew-message {
    touch-action: none;
    animation: fibre-crew-enter 150ms ease-out both;
}

.blockUI.fibre-crew-backdrop {
    background-color: rgba(15, 23, 30, 0.85) !important;
    backdrop-filter: blur(4px);
}

.blockUI.fibre-crew-message {
    inset: 0;
    display: grid !important;
    place-items: center;
    padding: 0.5rem;
    outline: none;
    user-select: none;
    box-sizing: border-box;
}

.fibre-crew-blocked.fibre-crew-exiting .fibre-crew-backdrop,
.fibre-crew-blocked.fibre-crew-exiting .fibre-crew-message {
    animation: fibre-crew-exit 150ms ease-in both;
}

.fibre-crew-content {
    --crew-green: var(--brand-fibre-green, #a6ce39);
    --crew-light: #c1f46b;
    display: grid;
    justify-items: center;
    gap: clamp(0.3rem, 1.8vh, 1rem);
    max-width: 100%;
    line-height: 1.35;
    color: white;
}

.fibre-crew-logo {
    display: block;
    width: clamp(6rem, 19vh, 9rem);
    height: auto;
    aspect-ratio: 2.2;
    object-fit: contain;
}

.fibre-crew-label,
.fibre-crew-footer {
    margin: 0;
    font-size: 0.6875rem;
    letter-spacing: 0.23em;
}

.fibre-crew-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--crew-light);
}

.fibre-crew-label::before,
.fibre-crew-label::after {
    content: "";
    width: clamp(0.8rem, 5vw, 2rem);
    height: 1px;
    background: var(--crew-green);
}

.fibre-crew-art {
    width: min(30rem, 85vw, 91vh);
    aspect-ratio: 2.2;
}

.fibre-crew-art svg {
    display: block;
    width: 100%;
    height: 100%;
}

.fibre-crew-title {
    margin: 0;
    color: white;
    font-family: inherit;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.fibre-crew-copy {
    margin: 0.4rem 0 0;
    color: #cbd5e1;
    font-size: 0.875rem;
    overflow-wrap: anywhere;
}

.fibre-crew-dots {
    display: inline-block;
    color: var(--crew-light);
}

.fibre-crew-dots[hidden] {
    display: none;
}

.fibre-crew-dots span {
    animation: fibre-crew-dot 1.5s ease-in-out infinite;
}

.fibre-crew-dots span:nth-child(2) { animation-delay: 150ms; }
.fibre-crew-dots span:nth-child(3) { animation-delay: 300ms; }

.fibre-crew-track {
    position: relative;
    width: min(10rem, 55vw);
    height: 4px;
    margin-block: 0.25rem;
    overflow: hidden;
    border-radius: 999px;
    background: #c1f46b38;
}

.fibre-crew-track::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 36%;
    content: "";
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, var(--crew-green) 55%, #f6ffde);
    box-shadow: 0 0 6px var(--crew-light);
    animation: fibre-crew-pulse 1.65s linear infinite;
}

.fibre-crew-footer {
    color: #cbd5e1;
    font-size: 0.625rem;
}

.fibre-crew-exiting .fibre-crew-dots span,
.fibre-crew-exiting .fibre-crew-track::before,
.fibre-crew-exiting .fibre-crew-motion {
    animation-play-state: paused;
}

@keyframes fibre-crew-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes fibre-crew-exit { from { opacity: 1; } to { opacity: 0; } }
@keyframes fibre-crew-dot { 0%, 65%, 100% { opacity: 0.45; } 28% { opacity: 1; } }
@keyframes fibre-crew-pulse { from { transform: translateX(-110%); } to { transform: translateX(290%); } }

@media (max-width: 800px) {
    .fibre-crew-art { width: min(22.5rem, 85vw, 91vh); }
    .fibre-crew-title { font-size: 1.375rem; }
}

@media (max-width: 480px) {
    .fibre-crew-content { gap: clamp(0.4rem, 1.65vh, 0.8rem); }
    .fibre-crew-title { font-size: 1.25rem; }
}

@media (max-height: 360px) {
    .fibre-crew-content { gap: 0.3rem; }
    .fibre-crew-logo { width: 5rem; }
    .fibre-crew-title { font-size: 1.25rem; }
    .fibre-crew-art { width: min(13rem, 85vw, 76vh); }
}

@media (prefers-reduced-motion: reduce) {
    .blockUI.fibre-crew-backdrop,
    .blockUI.fibre-crew-message,
    .fibre-crew-dots span,
    .fibre-crew-track::before,
    .fibre-crew-content .fibre-crew-motion {
        animation: none !important;
    }

    .fibre-crew-track::before { left: 32%; }
    .fibre-crew-content .fibre-crew-signal { display: none; }
}
