* {
    margin: 0;
    padding: 0;
}

html,
body {
    overflow: hidden;
}

.interface-wrapper {
    top: max(8px, env(safe-area-inset-top));
    left: max(8px, env(safe-area-inset-left));
}

.icon-control-container {
    width: 34px;
    height: 34px;
}

.icon-control-container img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.workstation-intro {
    --intro-lettering-width: min(78vw, 435px);
    --boot-bar-duration: 420ms;
    --boot-fade-duration: 360ms;
    position: absolute;
    inset: 0;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: opacity 500ms ease, visibility 0s linear 500ms;
}

.workstation-intro[data-phase='entered'] {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Prepare the welcome overlay's fade before the desk starts moving underneath it. */
.workstation-intro[data-phase='welcome'],
body.workstation-entering .workstation-intro[data-phase='entered'] {
    will-change: opacity;
}

body.workstation-entering .workstation-intro[data-phase='entered'] {
    background: #000;
    transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.workstation-intro[data-phase='entered'] .workstation-boot {
    display: none;
}

body.workstation-entering #webgl canvas,
body.workstation-entering #css {
    pointer-events: none !important;
}

body.workstation-entering #overlay,
body.workstation-entering #ui-interactive [aria-label='Mouse orbit'] {
    visibility: hidden;
}

.workstation-boot {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    background: #000;
    transition: opacity var(--boot-fade-duration) ease var(--boot-bar-duration),
        visibility 0s linear calc(var(--boot-bar-duration) + var(--boot-fade-duration));
}

.workstation-boot[aria-hidden='true'] {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.workstation-boot-logo {
    display: block;
    /* Account for the transparent padding around the Apple mark. */
    width: calc(var(--intro-lettering-width) * 0.39);
    height: auto;
    filter: brightness(0) invert(1);
}

.workstation-boot-progress {
    position: absolute;
    top: calc(50% + var(--intro-lettering-width) * 0.26);
    left: 50%;
    width: calc(var(--intro-lettering-width) * 0.45);
    height: clamp(3px, calc(var(--intro-lettering-width) * 0.012), 5px);
    transform: translateX(-50%);
    overflow: hidden;
    border-radius: 999px;
    background: rgb(255 255 255 / 20%);
}

.workstation-boot-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #fff;
    transition: width var(--boot-bar-duration) ease-out;
}

.workstation-welcome {
    position: absolute;
    inset: 0;
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 2vmin, 22px);
    padding: 20px;
    background: #000;
}

.workstation-hello {
    --hello-delay: calc(var(--boot-bar-duration) + 150ms);
    width: var(--intro-lettering-width);
    margin: 0;
}

.workstation-hello[data-replayed] {
    --hello-delay: 0ms;
}

.workstation-hello svg {
    display: block;
    width: 100%;
    height: auto;
}

.workstation-hello path {
    stroke-dasharray: 1 1;
    animation: workstation-hello-draw var(--stroke-duration) ease-in-out var(--stroke-delay) both,
        workstation-hello-fade var(--stroke-fade) ease-in-out var(--stroke-delay) both;
}

.hello-first-stroke {
    --stroke-duration: 800ms;
    --stroke-fade: 400ms;
    --stroke-delay: var(--hello-delay);
}

.hello-rest-stroke {
    --stroke-duration: 2800ms;
    --stroke-fade: 700ms;
    --stroke-delay: calc(var(--hello-delay) + 700ms);
}

@keyframes workstation-hello-draw {
    from { stroke-dashoffset: 1; }
    to { stroke-dashoffset: 0; }
}

@keyframes workstation-hello-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.workstation-start {
    position: relative;
    top: clamp(10px, 1.7vmin, 16px);
    appearance: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 0;
    border: 0;
    background: none;
    color: white;
    cursor: pointer;
    font: inherit;
    animation: workstation-button-in 300ms ease calc(var(--boot-bar-duration) + 490ms) both;
}

/* Startup controls adapted from the MIT-licensed MacX PowerScreen. */
.workstation-start-arrow,
.workstation-start-label {
    display: grid;
    place-items: center;
    border: 1px solid;
    border-radius: 999px;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.workstation-start-arrow {
    box-sizing: border-box;
    width: 48px;
    height: 48px;
    border-color: rgb(255 255 255 / 20%);
    background-color: rgb(0 0 0 / 5%);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -4px rgb(0 0 0 / 10%);
    transition: background-color 200ms ease, transform 200ms ease;
}

.workstation-start-label {
    padding: 6px 16px;
    border-color: rgb(255 255 255 / 10%);
    background-color: rgb(0 0 0 / 1%);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -2px rgb(0 0 0 / 10%);
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.025em;
    animation: workstation-start-label-in 300ms ease calc(var(--boot-bar-duration) + 690ms) both;
}

.workstation-start-arrow:hover {
    background-color: rgb(0 0 0 / 10%);
    transform: scale(1.05);
}

.workstation-start:active .workstation-start-arrow {
    transform: scale(0.95);
}

.workstation-start:focus-visible {
    outline: none;
}

.workstation-start:focus-visible .workstation-start-arrow {
    outline: 2px solid white;
    outline-offset: 4px;
}

.workstation-intro-sound {
    position: absolute;
    bottom: clamp(12px, 5vh, 40px);
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    background: transparent;
    color: #c7c7c7;
    cursor: pointer;
    font: 500 13px -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@keyframes workstation-button-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes workstation-start-label-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.workstation-boot-error {
    position: absolute;
    inset: 0;
    display: grid;
    align-content: center;
    gap: 12px;
    padding: 24px;
    background: #000;
    text-align: center;
}

.workstation-boot-error p {
    color: #c7c7c7;
}

@media (prefers-reduced-motion: reduce) {
    .workstation-intro,
    .workstation-boot,
    .workstation-boot-progress span,
    .workstation-hello path,
    .workstation-start,
    .workstation-start-arrow,
    .workstation-start-label {
        animation: none;
        transition: none;
    }

    .workstation-start-arrow:hover,
    .workstation-start:active .workstation-start-arrow {
        transform: none;
    }
}

@media (prefers-reduced-transparency: reduce) {
    .workstation-start-arrow,
    .workstation-start-label {
        background: #353535;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .workstation-start-arrow:hover {
        background-color: #454545;
    }
}


/*# sourceMappingURL=main.css.map*/