/* Profile mode — vertically centred landing page */

.main .profile {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100svh - var(--header-height) - var(--footer-height) - var(--gap) * 2);
    text-align: center;
}

.profile .profile_inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.profile img {
    border-radius: 20%;
}

.profile h1 {
    font-size: 1.5em;
    margin-top: 4px;
}

.profile .profile-subtitle {
    color: var(--secondary);
    font-size: 0.95em;
    max-width: 480px;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 400px;
    margin-top: 4px;
}

.button {
    background: var(--tertiary);
    border-radius: var(--radius);
    margin: 8px;
    padding: 6px;
    transition: transform 0.1s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.button-inner {
    padding: 0 8px;
    color: var(--primary);
    font-size: 14px;
}

.button:hover {
    text-decoration: none;
    opacity: 0.85;
}

.button:active {
    transform: scale(0.96);
}

@media (max-width: 768px) {
    .profile img {
        width: 153px;
        height: 153px;
    }
}
