.player-card,
.player-card * {
    transition: all 0.3s ease;
}

.player-card {
    position: absolute;
    background: linear-gradient(145deg, #232323, #1a1a1a);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8), 0 4px 6px rgba(0, 0, 0, 0.4);
    width: 350px;
    padding: 20px;
    z-index: 2200;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    transform: scale(0.9);
    pointer-events: none;
    top: -9999px;
    left: -9999px;
}

.card-inline-html {
    transition: 0.3s ease, transform 0.3s ease;
}

.player-card.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
    visibility: visible;
}

.player-card.visible:hover {
    transform: scale(1.05);
    transition-delay: 0.3s;
    /*box-shadow: 0 12px 24px rgba(0, 0, 0, 0.9), 0 6px 8px rgba(0, 0, 0, 0.5);*/
    box-shadow: 0 14px 28px rgba(0, 0, 0, 1), 0 8px 10px rgba(0, 0, 0, 0.7); 
}

.player-card.hideit {
    opacity: 0;
    pointer-events: none;
}

.player-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.player-card-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.player-card-header .player-card-details h3 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
}

.player-card-header .player-card-details p {
    margin: 0;
    font-size: 14px;
    color: #bbb;
}

.player-card-body {
    font-size: 15px;
    line-height: 1.6;
    color: #ddd;
}

.player-card-body .bio-container {
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
}

.player-card-body .bio-container .continue:hover,
.player-card-body .bio-container .less:hover {
    color: #7fd1f7;
    text-decoration: underline;
}

.player-card-body p {
    margin: -1.5px 0;
    color: #ddd;
}

.player-card-body p.bio {
    max-height: 6.8em;
    overflow: hidden;
    text-overflow: ellipsis;
    /* white-space: nowrap; */
    white-space: normal;
    font-size: 1.1em;
    font-weight: 500;
    border: 1px solid #141414ed;
    padding: 4px;
    background-color: #252727eb;
    border-radius: 3px;
    color: #d9e1e8f2;
    word-break: break-word;
}

.player-card-body .continue, .less {
    font-size: 12px;
    color: #1ec2ff;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 5px;
    display: inline-block;
}

span.continue, .less {
    float: right;
} 

.less {
    display: none;
}

.player-card-body strong {
    color: #e9f2fa;
    font-size: .9em;
}

.player-card-body a {
    font-weight: bold;
    color: #1ec2ff;
    text-decoration: none;
}

.player-card-body a:hover {
    text-decoration: underline;
}

.player-name-text {
    text-decoration:none;
    cursor: pointer;
    color: #5084b4fc;
    transition: color 0.4s ease;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.player-name-text:hover {
    color: #1ec2ffcc;
    text-decoration: underline;
}

.player-name-text-hover {
    color: #1ec2ffcc;
    text-decoration: underline;
}

.unlinked-account {
    color: #b2bdbfba;
    cursor: pointer;
    transition: color 0.4s ease;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;    
}

.unlinked-account:hover {
    color: #9cbbc0ba;
    text-decoration: underline;
}

.p-base {
    font-size: 1.4em;
    font-weight: 100;
    color: antiquewhite;
}

#player-ea-account {
    color: #77aad9;
    font-weight: bold;
    text-decoration: none;
}

#player-discord-name {
    color: #77aad9;
    font-weight: bold;
    text-decoration: none;
}

#player-username:not(.not-linked):hover {
    color: #7fd1f7;
    cursor: pointer;
}

#player-username {
    color: #e9f2fa;
    position: relative;
    display: inline-block;
    transition: color 0.4s ease;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

#player-username:not(.not-linked)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #7fd1f7;
    transition: width 0.4s ease;
}

#player-username:hover::after {
    width: 100%;
}

.account-disclaim {
    padding: 6px;
}

.status-indicator {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url( /images/hasstatusmessage.png ) no-repeat center center;
    background-size: contain;
    position: relative;
    cursor: pointer;
    transition: opacity 0.8s cubic-bezier( 0.9, 0, 0.99, 0.5 );
}

/* OLD
.status-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-30%, -100%);
    color: white;
    padding: 22px 30px 22px 25px;
    text-align: center;
    font-size: 12px;
    font-weight: 100;
    line-height: 1.2;
    max-width: 16em;
    z-index: 3; /* 3 is perfecto
    visibility: hidden;
    opacity: 0;
    transition: opacity 1.3s cubic-bezier(0.39, 0.58, 0.57, 1), visibility 1.3s cubic-bezier(0.39, 0.58, 0.57, 1);
    background: url( /images/smbubble_large.png ) no-repeat center;
    background-size: contain;
    border-radius: 10px;
    width: 16em;
    height: auto;
    box-sizing: border-box;
}*/


.status-message 
{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(9.5%, -36%);
    color: white;
    padding: 10px 10px 10px 10px;
    text-align: center;
    font-size: 12px;
    font-weight: 100;
    line-height: 1.2;
    max-width: 16em;
    z-index: 3;
    visibility: hidden;
    opacity: 0;
    transition: opacity 1.3s cubic-bezier(0.39, 0.58, 0.57, 1), 
                visibility 1.3s cubic-bezier(0.39, 0.58, 0.57, 1);
    background: url(/images/smbubble_large.png) no-repeat center;
    background-size: cover;
    border-radius: 200px;
    width: auto;
    height: auto;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.status-message.show {
    visibility: visible;
    opacity: 1;
}

.status-message-container {
    display: inline-block;
    position: relative;
    left: 3.8em;
    display: flex;
}

.status-message.fade-out {
    visibility: hidden;
    opacity: 0;
    transition: opacity 1.3s ease-in-out, visibility 1.3s ease-in-out;
}

.sizeem8 {
    font-size:0.8em;
}

.bio-container::-webkit-scrollbar {
    width: 10px;
}

.bio-container::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
}

.bio-container::-webkit-scrollbar-thumb {
    background: #7fd1f7;
    border-radius: 10px;
    border: 2px solid #1a1a1a;
}

.bio-container::-webkit-scrollbar-thumb:hover {
    background: #5ba5d1;
}

.bio-container {
    scrollbar-width: thin;
    scrollbar-color: #7fd1f7 #1a1a1a;
}
