/*
 * ---------------------------------------------
 * Steam
 * ---------------------------------------------
 */

.steam-login {
    margin-bottom: 50px;
    margin-top: 20px;
}

.steam-logout {
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    border-radius: 6px;
    border: 1px solid rgba(220, 60, 40, 0.6);
    padding: 4px 12px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    cursor: pointer;
    margin-top: 0;
    background: transparent;
    color: rgb(220, 100, 85);
}

.steam-logout:hover {
    background: rgba(220, 60, 40, 0.15);
    border-color: rgba(220, 60, 40, 0.9);
    color: rgb(240, 130, 115);
}

.steam-avatar {
    height: 150px;
    width: 150px;
}

/*
 * ---------------------------------------------
 * Profile
 * ---------------------------------------------
 */

.profile {
    color: rgb(220, 211, 202);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 38px;
    text-align: center;
    margin-bottom: 50px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.profile .profile-heading {
    color: rgb(220, 211, 202);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 38px;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

.profile .profile-table {
    background-color: rgba(28, 28, 26, 0.5);
    border: 3px solid rgb(88, 108, 57);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    width: 800px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.profile .profile-info {
    color: rgb(220, 211, 202);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 32px;
    text-align: left;
    margin-bottom: 50px;
    margin-top: 20px;
}

.profile .profile-data {
    color: rgb(220, 211, 202);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 32px;
    text-align: right;
    margin-bottom: 50px;
    margin-top: 20px;
}

.profile-avatar {
    height: 140px;
    width: 140px;
    margin-right: 50px;
    margin-bottom: 20px;
    margin-top: 20px;
}

/*
 * ---------------------------------------------
 * Steam Login — in-navbar flex item
 * ---------------------------------------------
 */

.steam-login {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.steam-login a {
    display: inline-flex;
    align-items: center;
}

/* Sign-in button image */
.steam-login img:not(.nav-steam-avatar) {
    display: block;
    height: 32px;
    width: auto;
    border-radius: 3px;
}

/* Logged-in avatar */
.nav-steam-avatar {
    display: block;
    height: 32px;
    width: 32px;
    border-radius: 3px;
    object-fit: cover;
}

.nav-steam-name {
    color: rgb(166, 169, 162);
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
}

[data-theme="light"] .nav-steam-name {
    color: rgb(90, 86, 80);
}

/* ============================================================
   Light theme overrides — steam.css
   ============================================================ */
[data-theme="light"] .profile .profile-heading   { color: #1a2a1a; }
[data-theme="light"] .profile .profile-info      { color: #1a2a1a; }
[data-theme="light"] .profile .profile-data      { color: #1a2a1a; }
[data-theme="light"] .profile .profile-table     { background-color: rgba(238,246,238,0.85); border-color: #90ba90; }

[data-theme="light"] .steam-logout {
    border-color: rgba(180, 50, 30, 0.55);
    color: rgb(180, 50, 30);
    background: transparent;
}
[data-theme="light"] .steam-logout:hover {
    background: rgba(180, 50, 30, 0.09);
    border-color: rgba(180, 50, 30, 0.85);
    color: rgb(150, 30, 15);
}
