body {
    background: #5f668c;

    header {
        background: #FA9549;
        padding: 2em;

        h1 {
            font-family: 'Bungee';
            color: #FFBF00;
            text-shadow: 4px 0 #9751BC, -4px 0 #9751BC, 0 4px #9751BC, 0 -4px #9751BC, 2px 2px #9751BC, -2px -2px #9751BC, 1px -2px #9751BC, -2px 1px #9751BC;
            text-align: center;
            font-size: 5em;
        }
    }

    section {
        padding: 2em;
        max-width: 1400px;
        display: flex;
        margin: auto;
        flex-direction: column;

        .playtime {
            text-align: center;
            margin-bottom: 0.5em;
            color: #FFBF00;
            text-shadow: 2px 0 #9751BC, -2px 0 #9751BC, 0 2px #9751BC, 0 -2px #9751BC, 1px 1px #9751BC, -1px -1px #9751BC, 1px -1px #9751BC, -1px 1px #9751BC;
            font-size: 2em;
            font-weight: bold;
        }

        .achievement-container {
            width: 100%;
        }

        .achievement-bar {
            max-width: 500px;
            margin: auto;
            height: 25px;
            background: #555;
            border-radius: 12px;
            overflow: hidden;
        }

        .achievement-progress {
            height: 100%;
            width: 0%;
            background: #FA9549;
            border-radius: 12px;
            transition: width 0.5s ease;
        }

        .achievement-count {
            margin-bottom: 0.5em;
            text-align: center;
            color: #FFBF00;
            text-shadow: 2px 0 #9751BC, -2px 0 #9751BC, 0 2px #9751BC, 0 -2px #9751BC, 1px 1px #9751BC, -1px -1px #9751BC, 1px -1px #9751BC, -1px 1px #9751BC;
            font-size: 2em;
            font-weight: bold;
        }

        .achievements-list {
            margin-top: 1em;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1em;
            max-width: 100%;
        }

        .achievement {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 8px;
            border-radius: 6px;
            background: #555;
            width: 450px;
        }

        .achievement.unlocked {
            border: 1px solid white;
        }

        .achievement.locked {
            border: 1px solid transparent;
            opacity: 0.45;
        }

        .achievement-icon {
            width: 50px;
            height: 50px;
            object-fit: cover;
        }

        .achievement-info {
            display: flex;
            flex-direction: column;
            gap: 3px;
        }

        .achievement-name {
            font-weight: bold;
            color: white;
        }

        .achievement-description {
            color: #aaa;
            font-size: 14px;
        }
    }
}

.overlay {
    width: 500px;
    padding: 20px;

    background: #FA9549;
    border-radius: 12px;

    box-sizing: border-box;
    color: #9751BC;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 15px;
}

.title {
    font-size: 22px;
    font-weight: bold;
}

#playtime {
    font-size: 2em;
    color: #FFBF00;
    text-shadow: 2px 0 #9751BC, -2px 0 #9751BC, 0 2px #9751BC, 0 -2px #9751BC, 1px 1px #9751BC, -1px -1px #9751BC, 1px -1px #9751BC, -1px 1px #9751BC;
}

.achievement-info {
    font-size: 24px;
    font-weight: bold;

    margin-bottom: 8px;
}

.achievement-bar {
    width: 100%;
    height: 14px;

    background: #5f668c;
    border-radius: 7px;

    overflow: hidden;
}

#achievement-progress {
    width: 0%;
    height: 100%;

    background: #9751BC;

    transition: width 0.5s ease;
}

.last-achievement {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 20px;
}

#last-achievement-icon {
    width: 50px;
    height: 50px;

    object-fit: cover;

    border: 1px solid white;
}

.last-label {
    font-size: 1.5em;
    color: #FFBF00;
    text-shadow: 2px 0 #9751BC, -2px 0 #9751BC, 0 2px #9751BC, 0 -2px #9751BC, 1px 1px #9751BC, -1px -1px #9751BC, 1px -1px #9751BC, -1px 1px #9751BC;
}

#last-achievement-name {
    color: #9751BC;
    font-size: 1em;
    margin-top: 0.5em;
}

#body-overlay {
    background: transparent;
}