body a:link{text-decoration: none;}

.full-height {
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.sidebar {
    color: #fff;
    width: 375px;
    max-width: 100%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    background: rgb(45,43,71);
    background: linear-gradient(270deg, rgba(45,43,71,1) 0%, rgba(56,53,88,1) 50%, rgba(64,61,100,1) 100%);
    transition: transform 0.3s ease;
    transform: translateX(0);
}

.sidebar-body{overflow-y: auto !important;}

.sidebar-body::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.sidebar-body::-webkit-scrollbar-track {
    background: #22243b;
}

.sidebar-body::-webkit-scrollbar-thumb {
    background-color: #323558;
    border-radius: 10px;
    border: none;
}

.sidebar-body::-webkit-scrollbar-thumb:hover {
    background-color: #2d2b47;
}

#gamePlay, .sidebar-body {
    scrollbar-width: thin;
    scrollbar-color: #25223a #2d2b47;
}

.sidebar.collapsed {
    transform: translateX(100%); /* Move sidebar off-screen */
}


.sidebar small{padding: 0.2em;}
.sidebar small a.pill{
    background-color: #25223a;
    padding:0.2em 0.8em;
    font-size:0.9em;
    border-radius: 20px;
}

.sidebar a{color:#479ef5;}
.sidebar .card{color:#fff; line-height:normal;background-color: #25223a;padding:1em;margin-bottom:1em;}
.sidebar .sidebar-body li{margin-bottom: 1em;margin-left:-12px;}
.sidebar .timestamp{font-size:0.6em;color:#999;}

.toggle-tab {
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    background-color: rgba(64,61,100,1);
    color: #566f9c;
    border-radius: 5px;
    padding: 10px 5px;
    z-index: 1;
}

#gamePlay
{
    margin-right:350px;
    transition: margin-right 0.3s ease;
    position:relative;
    background: rgb(76,73,117);
    background: radial-gradient(circle, rgba(76,73,117,1) 0%, rgba(45,43,71,1) 100%);
}

#gamePlay.padded{margin-right:0;}
.leaderboard-container .score-entry a{color: #fff;}

.game-wrapper
{
    max-height: 100vh;
    overflow-y: auto;
}

#profile-mute-console{cursor: pointer;}


/* 

* {user-drag: none; -webkit-user-drag: none; user-select: none; -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none;}
.user-select-all {user-drag: all; -webkit-user-drag: all; user-select: all; -moz-user-select: all; -webkit-user-select: all; -ms-user-select: all;}
.user-select-text * { user-drag: text; -webkit-user-drag: text; user-select: text; -moz-user-select: text; -webkit-user-select: text; -ms-user-select: text;}     

*/

/* Game Selection Screen Cards */
#gamePlay .col .card {
    position: relative;
    width: 100%;
    min-width: 75px;
    border-color: #25223a;
    box-shadow: 0 2px 6px rgba(26, 23, 43, 0.6);
    padding-top: 75%;
    overflow: hidden;
}
#gamePlay .col .card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#gamePlay .col .card a {
    display: block;
    height: 100%;
}
#gamePlay .col .card .card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6); /* semi-transparent dark overlay */
    color: #fff;
    text-align: center;
    padding: 8px 4px;
    margin-bottom:0px !important;
    font-size: 1rem;
    font-weight: bold;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;    
}

/* Gameplay iFrame Wrapper */
#gamePlay .iframe-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    max-width: 100%;
}
#gamePlay .iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
    max-height: 90vh;
}

/* More Games Sidebar Cards */
#moreGamesRow .col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
