@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

:root {
    interpolate-size: allow-keywords;
}





h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}

h1 {
    font-size: var(--text-xxl);
}

body {
    background-color: rgba(0, 0, 0, 0.3);
    margin: 0;
    padding: 0;
}


[state] [data-name] { display: none;}
[state="start"] [data-name="start"] { display: unset; }
[state="star-map"] [data-name="star-map"] { display: unset; }

login-context {
    display: flex;
    width: 100%;
    height: 100svh;
}

.center {
    display: flex;
    justify-content: center;
    align-items: stretch;
    position: relative;
    justify-self: center        ;
    align-self: center;
    width: 500px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 30px;
    corner-shape: bevel;
    background: transparent;
    border: none;
    transition: height 0.5s ease;

    --border-radius-A: 35px;
    --border-radius-B: 21px;
    --border-radius-C: 46px;
    --border-radius-D: 23px;
    --border-radius-E: 48px;
    --border-radius-F: 25px;
    --border-radius-G: 42px;
    --border-radius-H: 21px;
    corner-shape: bevel;
    

    &:before {
        content: "";
        position: absolute; 
        inset: 0;
        backdrop-filter: var(--backdrop-filter);
        background: var(--background);
        z-index: -1;
        corner-shape: bevel;
        border-radius: var(--bevel-corners);
        border: var(--border);
        max-width: 600px;
        max-height: 400px;
        margin: auto;
    }

    .background {
        margin: auto;
    }
}


.loading .center .background { 
    position: relative;
    padding-bottom: 100px;

    
}


.start {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}


#cutscene-container:has(#intro-vid) {
    z-index: 10000;
}