body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    align-items: center;
    justify-content: center;
}

h1 { display: none; }

#profile-setup {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#portal {
    position: relative;
    width: 360px;
    max-width: 90vw;
    transition: width ease-in-out .5s;
}

/* ── slide card ── */
.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    opacity: 1;
}
#username-slide .main {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
    width: 100%;
}
.slide .left, .slide .right{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.slide .right {
    flex :0;
}
.slide .left {
    flex :1;
}

/* logo area at top of each slide */
.slide::before {
    content: '𓆗';
    font-size: 26px;
    color: var(--accent);
    display: block;
}

.slide label {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: .06em;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
}

/* text inputs */
.slide input[type=text],
.slide input[type=password] {
    width: 100%;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--cream);
    font-family: inherit;
    font-size: 13px;
    padding: 8px 12px;
    outline: none;
}
.slide input[type=text]:focus,
.slide input[type=password]:focus {
    border-color: var(--accent);
}
.slide input[type=text]::placeholder,
.slide input[type=password]::placeholder {
    color: var(--text-muted);
}

/* file input — hidden, replaced by label trick if needed */
.slide input[type=file] {
    width: 100%;
    font-size: 11px;
    color: var(--text-muted);
    background: var(--bg3);
    border: 1px dashed var(--border);
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
}
.slide input[type=file]:hover {
    border-color: var(--accent2);
    color: var(--accent2);
}

/* submit buttons */
.slide button {
    width: 100%;
    background: transparent;
    border: 1px solid var(--accent);
    border-radius: 6px;
    color: var(--accent);
    font-family: inherit;
    font-size: 13px;
    padding: 9px;
    cursor: pointer;
    letter-spacing: .04em;
    margin: 0;
}
.slide button:hover {
    background: color-mix(in srgb, var(--accent) 12%, transparent);
}

/* step indicator dots */
.step-dots {
    display: flex;
    gap: 6px;
}
.step-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border);
}
.step-dot.active {
    background: var(--accent);
}

/* slide animations — preserved from original */
.dissolve-slide-in {
    display: flex !important;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: dissolveIn .7s cubic-bezier(.25, 1, .5, 1) forwards;
}

@keyframes dissolveIn {
    to { opacity: 1; transform: translateY(0); }
}

.dissolve-slide-out {
    animation: dissolveOut .5s ease-in forwards;
}

@keyframes dissolveOut {
    to { opacity: 0; transform: translateX(-40px); }
}

#password-slide {
    display: none;
}

button {
    cursor: pointer;
}
