.game_image {
    display: block;
    width: 90%;
    display: block;
    margin: 0 auto;
    margin-bottom: 2rem;
    -webkit-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    cursor: pointer;
}
.game_image_dis {
    position: relative;
    top: -5px;
    display: block;
    width: 90%;
    display: block;
    margin: 0 auto;
    margin-bottom: 2rem;
    -webkit-transition: all 1.5s ease-out;
    -o-transition: all 1.5s ease-out;
    transition: all 1.5s ease-out;
    cursor: pointer;
}
.header {
    text-align: left;
    margin-top: 6rem;
}
.header h1 {
    font-size: clamp(2.2rem, 2.5vw, 3rem);
}
.header p {
    font-size: clamp(1rem, 2vw, 1.25rem);
}
@media only screen and (min-width:820px) {
    #horizontal_container {
        margin-top: 3rem;
    }
}

@media only screen and (max-width:819px) {
    #horizontal_container {
        margin-top: -2rem;
    }
    .header {
        text-align: center;
        margin-bottom: 4rem;
        margin-top: 5rem;
    }
}
/*test of tooltip */
.account_players::after {
    content: attr(data-fullname);
    visibility: hidden;
    width: auto;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px 8px;
    border-radius: 6px;
  
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Adjust as needed */
    left: 50%;
    transform: translateX(-50%);
  
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .account_players:hover::after {
    visibility: visible;
    opacity: 1;
  }
  /*end of test of tooptip*/
.game_image:hover {
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}

@media (hover: none), (pointer: coarse) {
    .game_image:hover {
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
    }

    .game_image {
        transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
        will-change: transform;
    }

    .game_image:active {
        -webkit-transform: scale(0.94);
        -ms-transform: scale(0.94);
        transform: scale(0.94);
        filter: brightness(0.82) saturate(0.95);
        opacity: 0.8;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.38);
    }
}

.game_image_locked {
    cursor: default;
    transition: none !important;
    -webkit-transition: none !important;
    -o-transition: none !important;
}

.game_image_locked:hover {
    -webkit-transform: none !important;
    -ms-transform: none !important;
    transform: none !important;
}

.category_title {
    color: var(--text-primary);
    font-weight: bolder;
    text-align: left;
    font-family: 'Maven_Pro';
}

.category_description {
    font-size: 20px;
    line-height: 25px;
    font-family: 'Maven_Pro';
    color: #fff;
    text-align: left;
}

.account_lolipop {
    color: #fff;
}

.account_lolipop:hover {
    color: #fff;
    opacity: 0.7;
}

.vertical__half {
    padding-left: 2.813rem;
    padding-right: 2.188rem;
}

.more_games,
.load_games {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    color: #fff;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 700 !important;
    font-size: 1.25rem;
    margin-bottom: 1.875rem;
    cursor: pointer;
    -webkit-transition: all 0.8s ease-out;
    -o-transition: all 0.8s ease-out;
    transition: all 0.8s ease-out;
    clear: both;
}

.more_games:hover,
.load_games:hover {
    opacity: 0.7;
}

.vertical__template_title {
    font-size: 1.563rem;
    font-weight: 900;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 3rem;
    margin-top: 0;
}

.vertical__game_image {
    display: block;
    max-width: 66%;
    margin: 0 auto;
}

.vertical__game_title {
    color: rgb(248, 99, 14);
    font-weight: bold;
    padding-top: 0;
    text-transform: uppercase;
    text-align: left;
    margin-bottom: 1.5625rem;
    font-size: 1.625rem;
}

.vertical__game_text {
    font-size: 1.25rem;
    line-height: 1.563rem;
    font-family: 'Maven_Pro';
    color: #fff;
    margin-bottom: 2rem;
    text-align: left;
}

.more_games:hover {
    opacity: 0.7;
}

.flex {
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    align-items: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.flex_horizontal {
    margin-top: 0;
    margin-bottom: 4rem;
}

.horizontal {
    display: flex;
    margin: auto;
    /*height: 8rem;*/
}

.divide_red {
    width: 90%;
    height: 0.313rem;
    background-image: linear-gradient(to right, #373636, #ff4d01, #ff4d01, #ff4d01, #373636);
    margin: 3.125rem auto 3.125rem auto;
    border-radius: 0.625rem;
}

.divide {
    width: 90%;
    height: 0.313rem;
    background-image: linear-gradient(to right, #373636, #bbb6b6, #bbb6b6, #bbb6b6, #373636);
    margin: 3.125rem auto 3.125rem auto;
    border-radius: 0.625rem;
    clear: both;
    box-sizing: border-box;
}

/*forms*/
#select_block {
    
    /*padding-top: 2rem;
    padding-bottom: 2rem;*/
    display: flex;
    flex-direction: row;
}

.input {
    padding: 0.313rem;
    border: 0.063rem solid #000;
    border-radius: 0.313rem;
    margin: 0.625rem;
    background: hsl(0, 0%, 100%, .1);
    color: #fff;
    min-height: 3.125rem;
    font-size: 1rem;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #fff;
    background-clip: padding-box;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-transition: border-color .15s ease-in-out,
        -webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,
        -webkit-box-shadow .15s ease-in-out;
    -o-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out,
        -webkit-box-shadow .15s ease-in-out;
}

.form-control:focus,
.form-control:active {
    background-color: #fff;
    color: #000;
}

.fail {
    color: rgb(248, 99, 14);
    font-weight: bold;
    padding-top: 1rem;
    font-size: 1.5rem;
    text-align: center;
}

.blocks_divider {
    height: 1px;
    width: 100%;
    clear: both;
}

.col-mds-6 {
    display: inline-block;
    width: 49.9%;
}

.blocks_vertical_inline {
    min-height: 1rem;
    width: 100%;
    clear: both;
}

.closeManualBots{
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 0.7rem;
    cursor: pointer;
}

/* mobile VIEW */
@media only screen and (max-width:767px) {
    .col-mds-6 {
        display: block;
        width: 100%;
    }

    .category_description {
        margin-bottom: 1rem;
        text-align: center;
        font-size: clamp(1rem, 3vw, 1.25rem);
        line-height: clamp(1.8rem, 4.5vw, 3.5rem);
    }

    .flex {
        display: block;
    }

    .vertical__half {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .vertical__game_image {
        width: 100%;
        max-width: 100%;
        display: block;
    }

    .vertical__button {
        font-size: 1.2rem;
        margin: 0 auto;
    }

    .vertical__template_title {
        font-size: 1.3rem;
        margin-bottom: 2rem;
    }

    .input {
        padding: 0.2rem;
        margin: 0;
        min-height: 3rem;
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }

    .game_icon_category {
        width: 35%;
        display: block;
        margin: 0 auto;
        /*max-width: 5rem;*/
    }

    .col-md-12.player_board {
        z-index: 888;
        min-height: 5rem;
        width: 80%;
        margin: 0 auto;
    }

    .divide {
        margin: 2rem auto 2rem auto;
        border-radius: 0.625rem;
    }

    .game_image {
        display: block;
        width: 90%;
        display: block;
        margin: 0 auto;
        margin-bottom: 2rem;
        -webkit-transition: all 1.5s ease-out;
        -o-transition: all 1.5s ease-out;
        transition: all 1.5s ease-out;
        cursor: pointer;
        height: auto
    }

    .game_image_dis {
        left:-12px;
    }
    
    .category_title {
        font-size: clamp(1.375rem, 4vw, 1.75rem);
        margin-top: 1rem;
        text-align: center;
    }

    #select_block {
        padding-top: 2rem;
        padding-left: 0;
        padding-right: 0;
    }
}

/* ESTILOS DEL MODAL DE INSTRUCCIONES*/

#instructionModal {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

#instructionModal .modal-content {
    border: 1.509px solid #232323;
    border-radius: 24px;
    background: var(--bg-neutral-dark-op100);
    box-shadow: 6.035px 14.082px 14.082px 0px rgba(0, 0, 0, 0.30);
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: var(--instruction-modal-width, max-content) !important;
    min-width: 0;
    max-width: min(50rem, calc(100vw - 24px));
    margin: auto;
    /* Proporcional al ancho de la ventana */

    padding: 35px;
    box-sizing: border-box;
    z-index: 9999;
    height: auto;
    /* Se ajusta automáticamente según el contenido */
    max-height: 95vh;
    /* No supera el 90% de la altura de la pantalla */
}

#instructionModal .modal-content .close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

#instructionModal .modal-content .close img {
    width: 24px;
    height: 24px;
    display: block;
}

#instructionModal .modal-content .close:hover {
    opacity: 0.75;
}

#instructionModal .modal-content .empty-div {
    width: 100%;
    height: 250px;
    background-color: #353434;
    border-radius: 24px;
    margin-bottom: 20px;
}

#instructionModal .modal-content #empty-div img {
    width: 50%;
}

#instructionModal .modal-content .content {
    display: grid;
}

#instructionModal .modal-content .content h2,
#instructionModal .modal-content .content p,
#instructionModal .modal-content .content a,
#instructionModal .modal-content .content button {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

#instructionModal .modal-content .content .dropdown {
    position: relative;
}

#instructionModal .modal-content .content .dropdown #quickstart {
    cursor: pointer;
}

#instructionModal .modal-content .content .dropdown .dropdown-menu{
    left: 50%;
    top: 60%;
    transform: translateX(-50%);
    border: 1.509px solid #232323;
    border-radius: 24px;
    background: var(--bg-neutral-dark-op100);
    padding: 15px;
}

#instructionModal .modal-content .content .dropdown .dropdown-menu .dropdown-item,
#instructionModal .modal-content .dropdown-item {
    border-radius: 16px;
    border: 1px solid #4D4D4D;
    background: #232323;
    padding: 10px 20px;
    text-align: left;
    font-size:14px;
}

#instructionModal .modal-content .content .dropdown .dropdown-menu .dropdown-item p,
#instructionModal .modal-content .dropdown-item p {
    font-size: 14px;
    font-weight: 500;
}

#instructionModal .modal-content .content .dropdown .dropdown-menu .dropdown-item small,
#instructionModal .modal-content .dropdown-item small {
    font-size: 12px;
    color: #B3B3B3;
    margin-top: 1px;
    display: block;
}

#instructionModal .modal-content .dropdown-item:hover {
    color: #FFFFFF;
    opacity: 0.7;
}

#instructionModal .modal-content .dropdown-item img {
    width: 25px;
    height: 25px;
    margin-right: 15px;
}

#difficultyModal .difficulty_chip img,
#difficultyModal .difficulty_jack img,
#difficultyModal .difficulty_ace img {
    width: 35px;
    height: 35px;
    margin-right: 15px;
    border-radius: 90px;
}

#instructionModal .modal-content #botDropdown  {
    left: 80%;
    transform: translateX(-50%);
    border: 1px solid #232323;
    border-radius: 24px;
    background: var(--bg-neutral-dark-op100);
    padding: 24px;
    width: 20vw;
}

#instructionModal .modal-content #botDropdown .dropdown-item {
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center
}

#instructionModal .modal-content #botDropdown > p {
    color: var(--text-white);
    font-size:16px;
}

#instructionModal .modal-content #botDropdown .bot_chip > p > span:nth-child(1),
#instructionModal .modal-content #botDropdown .bot_jack > p > span:nth-child(1),
#instructionModal .modal-content #botDropdown .bot_ace > p > span:nth-child(1),
#instructionModal .modal-content #botDropdown .bot_joker > p > span:nth-child(1) {
    font-size:14px;
}


#instructionModal .modal-content #botDropdown .bot_chip > p > span:last-child {
    color: var(--border-success);
    font-size:17px;
}

#instructionModal .modal-content #botDropdown .bot_jack > p > span:last-child {
    color: var(--text-primary);
    font-size:17px;
}

#instructionModal .modal-content #botDropdown .bot_ace > p > span:last-child {
    color: var(--text-alert);
    font-size:17px;
}

#instructionModal .modal-content #botDropdown .bot_joker > p > span:last-child {
    background: linear-gradient(90deg, #47CC0A 0%, #FF4D01 52%, #E51717 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size:16px;
}

#instructionModal .modal-content #botDropdown .dropdown-item > div:last-child {
    gap: 11px;
    display: flex;
    align-items: flex-end;
    /* align-content: stretch; */
    justify-content: center;
}

#instructionModal .modal-content #botDropdown .dropdown-item > div:last-child span {
    color: var(--text-white);
}

@media (max-width:767px){
    #instructionModal .modal-content #botDropdown  {
        left: 60%;
        width: 57vw;
    }
}

@media (min-width:768px) and (max-width:991px){
    #instructionModal .modal-content #botDropdown  {
        left: 77%;
        width: 35vw;
    }
}

@media (min-width:1200px){
    #instructionModal .modal-content #botDropdown  {
        left: 80%;
        width: 17vw;
    }
}

#instructionModal .modal-content #botDropdown .dropdown-item > p {
    color: var(--text-white);
    font-size:12px;
}

#instructionModal .modal-content #botDropdown .dropdown-item > img {
    width: 32px;
    height: 32px;
}


#instructionModal .modal-content .content h2 {
    font-weight: bold;
}

#instructionModal .modal-content button {
    /* margin-top: 10px; */
    cursor: pointer;
}

#instructionModal .modal-content #customize_game .footer {
    position: static;
    margin-top: 0.75rem;
    left: auto;
    bottom: auto;
    right: auto;
}

#instructionModal .modal-content #customize_game {
    position: relative;
    padding-bottom: 0;
}

#instructionModal .modal-content #how_to_play .footer {
    position: static;
    margin-bottom: 1rem;
}

#instructionModal .modal-content #customize_game .footer p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    width: auto;
    gap: 0.75rem;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}

#instructionModal .modal-content #customize_game .footer p > span {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

#instructionModal .modal-content #customize_game .footer .icon_time_invitation,
#instructionModal .modal-content #customize_game .footer .icon_games,
#instructionModal .modal-content #how_to_play .footer .icon_time_invitation,
#instructionModal .modal-content #how_to_play .footer .icon_games {
    width: 28px;
    height: 22px;
    fill: #FF4D01;
    margin: 0;
    vertical-align: text-bottom;
}

#instructionModal .modal-content #customize_game .footer .js-modal-players-meta img,
#instructionModal .modal-content #how_to_play .footer img[src$="players.svg"] {
    width: 28px;
    height: 22px;
    vertical-align: text-bottom;
}

/* Invite-by-link: input/select cosmetics */
#instructionModal select#playerCount {
  color: #000;                 /* black text in the dropdown */
}
/* somewhere in allgames.css */
.dropdown-menu { display: none; }
.dropdown-menu.show { display: block; }

#instructionModal input#inviteLinkInput {
  color: #666;                 /* dark grey link text */
}

/* 8px gap above the COPY button */
#instructionModal #inviteLinkInput {
  margin-bottom: 8px;
}

/* (Optional) keep disabled look distinct */
#instructionModal input#inviteLinkInput:disabled {
  opacity: 0.9;
}

#invite_new {
    /*float:right;*/
    width: 32px;
    height: 32px;
}

#title {
    text-align: center
}

.title {
    font-weight: bold;
    text-align: left;
}

@media (max-width:767px){
    .title {
        font-size:1.5rem;
    }
}

/*modal player_choice*/
#players_choice #search_player {
    border-radius: 9999px;
    background: var(--bg-neutral-light);
    display: flex;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    color: #FFFFFF;
}

#players_choice .empty_friends p {
    color: var(--text-grey);
}

#players_choice .empty_friends button{
    display:flex;
}

#players_choice .inviteMobile #invite_new_mobile {
    width: 36px;
    height: 36px;
}

#all_players_set>p {
    color: #E51717;
}

button:focus {
    outline: none !important;}

@media (max-width:991px){
    .bot_select_block{
        width:100%;
    }
}

@media (min-width:992px){
    .bot_select_block{
        width:75%;
    }
}
#all_bots_set > p {
    color: #E51717;
}

.bot_select_block {
    position: relative;
    max-height: 22rem;
    overflow-y: visible;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    overflow-x: hidden;
    row-gap:0px;
}

.bot_select_block .bot button{
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.bot_select_block .bot p span:nth-child(1) {
    font-size:18px;
}

.bot_select_block .bot p span:last-child {
    font-size:14px;
}

.bot_select_block .bot_chip_onlyBots p span:last-child {
    color: var(--border-success);
}

.bot_select_block .bot_jack_onlyBots p span:last-child {
    color: var(--border-primary);
}

.bot_select_block .bot_ace_onlyBots p span:last-child {
    color: var(--border-alert);
}

.bot_select_block .bot > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 5.5rem;
    margin: auto;
}

.bot_select_block .chip p span:last-child {
    color: var(--border-success);
}

.bot_select_block .jack p span:last-child {
    color: var(--text-primary);
}


.bot_select_block .ace p span:last-child {
    color: var(--text-alert);
}

.bot_select_block .joker p span:last-child {
    background: linear-gradient(90deg, #47CC0A 0%, #FF4D01 52%, #E51717 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#bots, #autofill {
    transform: scale(1.2);
}

#autofill:checked, #bots:checked {
    accent-color: #ff4d01; /* Cambia el color del checkbox */
}

.player_select_block {
    position: relative;
    max-height: 22rem;
    overflow-y: visible;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    overflow-x: hidden;
    gap:32px;
    row-gap:0px;
    height:8rem;
}

.player_avatar {
    display: inline-block;
    width: 3.125rem;
    height: 3.125rem;
    border-radius: 50%;
    margin: 0 auto;
    margin-bottom: 0.5rem;
  /*  -webkit-transition: all 1.5s ease-out;
    -o-transition: all 1.5s ease-out;
    transition: all 1.5s ease-out;*/
    cursor: pointer;
    margin-top: 1.25rem;
    min-height: 2.1875rem;
    color: #eeeeee;
    text-align: center;
}
.btnAlone{
    position: absolute;
    top: -2.5rem;
    right: 0px;
    color: #FF4D01;
    cursor: pointer;
}

.disabled_link {
    pointer-events: none;
    text-decoration: none;
}

.fill_with_bots span {
    margin-left: 12px;
    color: var(--text-disabled);
}

.fill_with_bots #difficulty_level {
    color: var(--text-disabled);
    margin-left: 10px;
}

.fill_with_bots #difficulty_level img{
    cursor:pointer;
}

.fill_with_bots > div > .dropdown-menu{
    border: 1px solid #232323;
    border-radius: 24px;
    background: var(--bg-neutral-dark-op100);
    padding: 24px;
    left: 7vw;
}

@media (min-width:768px) and (max-width:991px){
    .fill_with_bots > div > .dropdown-menu {
        left:14vw;
    }
}

.fill_with_bots > div > .dropdown-menu > .dropdown-item {
    border-radius: 16px;
    border: 1px solid #4D4D4D;
    background: #232323;
    padding: 7px 12px;
    text-align: left;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    color: var(--text-white);
}

.fill_with_bots > div > .dropdown-menu > p{
    color: var(--text-white);
    font-size: 16px;
}

.fill_with_bots > div > .dropdown-menu > .difficulty_chip > p > span:nth-child(1),
.fill_with_bots > div > .dropdown-menu > .difficulty_jack > p > span:nth-child(1),
.fill_with_bots > div > .dropdown-menu > .difficulty_ace > p > span:nth-child(1),
.fill_with_bots > div > .dropdown-menu > .difficulty_joker > p > span:nth-child(1) {
    font-size: 12px;
}

.fill_with_bots > div > .dropdown-menu > .difficulty_chip > p > span:last-child {
    color: var(--border-success);
    font-size: 15px; 
}

.fill_with_bots > div > .dropdown-menu > .difficulty_jack > p > span:last-child {
    color: var(--text-primary);
    font-size: 15px; 
}

.fill_with_bots > div > .dropdown-menu > .difficulty_ace > p > span:last-child {
    color: var(--border-success);
    font-size: 15px; 
}

.fill_with_bots > div > .dropdown-menu > .difficulty_joker > p > span:last-child {
    background: linear-gradient(90deg, #47CC0A 0%, #FF4D01 52%, #E51717 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 15px;
}

.block_for_dates,
.want_to_play {
    text-align: left;
}
.want_to_play #now {
    padding: 8px 16px;
}
.want_to_play #now,
.want_to_play #later,
.want_to_play #btnLater {
    background-color: transparent;
    border-radius: 9999px;
    border: 2px solid #FF4D01;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    outline: none;
}

.want_to_play #later {
    width: 5rem;
    padding: 8px 8px;
}

.cursor_pointer {
    cursor: pointer;
}
.webkitClamp{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;  
}

.want_to_play #now:focus,
.want_to_play #later:focus {
    border: 0.585px solid #FF4D01;
}

.block_for_dates .datetimepicker #back {
    float: left;
}

.block_for_dates .datetimepicker #setupgame,
.block_for_dates .datetimepicker #generate-link,
.block_for_dates .datetimepicker #setupgame2,
.block_for_dates .datetimepicker #createRoom13,
.block_for_dates .datetimepicker #createRoom23,
.block_for_dates .datetimepicker #createRoom33, 
.block_for_dates .datetimepicker #startGame {
    float: right;
}

.block_for_dates .datetimepicker button:nth-child(2) {
    width: 40px;
    height: 40px;
}

@media (max-width:767px) {
    .block_for_dates .datetimepicker #back {
        display: none;
    }

    .block_for_dates .datetimepicker button:nth-child(2) {
        display: block;
        float: left;
    }
}

@media (min-width:768px) {
    .block_for_dates .datetimepicker #back {
        display: block;
    }

    .block_for_dates .datetimepicker button:nth-child(2) {
        display: none;
    }
}

/*fin modal player_choice*/

/*modal invite new player*/

#toast { transition: opacity .15s ease; }
#toast.success { background: #1f9d55; }
#toast.warn    { background: #c47f00; }
#toast.error   { background: #d64545; }
#toast.info    { background: #3b82f6; }

/* Player count buttons */
.player-count-selector {
  margin: 0.75rem 0 1rem;
}

#playerCountButtons {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

/* Base look (inherits your button-main / button-sm) */
#playerCountButtons .pc-btn {
  min-width: 7.5rem;          /* consistent touch target */
  justify-content: center;     /* center text if button styles are flex */
  white-space: nowrap;
}

/* Selected state piggybacks your primary-button class */
#playerCountButtons .pc-btn.primary-button {
  cursor: default;
}

/* Hover/focus polish */
#playerCountButtons .pc-btn:hover {
  filter: brightness(1.08);
}
#playerCountButtons .pc-btn:focus {
  outline: 2px solid rgba(255, 77, 1, 0.35);
  outline-offset: 2px;
  box-shadow: none;
}

#invite_new_player form #enter-email {
    border-radius: 9999px;
    background: var(--bg-neutral-light);
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    color: #FFFFFF;
}

#invite_new_player form .back {
    float: left;
}


#invite_new_player form #sendinvitation {
    float: right;
}

@media (max-width:767px) {
    #invite_new_player form .back {
        display: none;
    }

    #invite_new_player form button:nth-child(3) {
        display: block;
        float: left;
    }
}

@media (min-width:768px) {
    #invite_new_player form .back {
        display: block;
    }

    #invite_new_player form button:nth-child(3) {
        display: none;
    }
}

/*fin modal invite new player*/

/* modal create room 1/3, 2/3, 3/3 */
#create_room_1_3 > div > div >img,
#create_room_2_3 > div > div > img {
    width: 90%;
}

#create_room_3_3 > div > div > .base-image {
    transform: rotate(-5deg);
    grid-column: 1;
    grid-row: 1;
    margin-right: 2.5dvw;
}

#create_room_3_3 > div > div > .overlay-image {
    transform: rotate(5deg);
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.30);
    grid-column: 1;
    grid-row: 1;
    margin-left: 3dvw;
}

.image-container {
    position: relative;
    width: fit-content;
    border: 3px solid var(--bg-neutral-dark-op100);
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    place-items: center;
    cursor:pointer;
}

@media (max-width:767px) {

    #create_room_1_3 .block_for_dates .datetimepicker .back,
    #create_room_2_3 .block_for_dates .datetimepicker .back,
    #create_room_3_3 .block_for_dates .datetimepicker .back {
        display: none;
    }

    #create_room_1_3 .block_for_dates .datetimepicker button:nth-child(2),
    #create_room_2_3 .block_for_dates .datetimepicker button:nth-child(2),
    #create_room_3_3 .block_for_dates .datetimepicker button:nth-child(2) {
        display: block;
        float: left;
    }

}


@media (min-width:768px) {

    #create_room_1_3 .block_for_dates .datetimepicker .back,
    #create_room_2_3 .block_for_dates .datetimepicker .back,
    #create_room_3_3 .block_for_dates .datetimepicker .back {
        display: block;
        float: left;
    }

    #create_room_1_3 .block_for_dates .datetimepicker button:nth-child(2),
    #create_room_2_3 .block_for_dates .datetimepicker button:nth-child(2),
    #create_room_3_3 .block_for_dates .datetimepicker button:nth-child(2) {
        display: none;
    }
}

@media (min-width:768px) {
    #create_room_3_3 > div > div > img {
        width: 79.975px;
        height: 113.461px;
    }
}

@media (max-width:767px) {
    #create_room_3_3 > div > div > img {
        width: 42.125px;
        height: 59.764px;
    }
}

@media (min-width:992px) {
    #create_room_3_3 > div > div > .overlay-image {
        left: 5vw;
    }
}

@media (max-width:991px) {
    #create_room_3_3 > div > div > .overlay-image {
        left: 12vw;
    }
}

#create_room_1_3 > .grid2rows > .gridElement > picture > img {
    border-radius: 22px;
}
/* fin modal create room 1/3, 2/3, 3/3 */

/* Invitation modals*/
.account_players {
    font-size:15px;
}

#do_you_want > p > span,
#failure_invitation >  p > span,
#invite_sent > p > span,
#invitation_sent > p > span {
    font-weight:bold;
}

#invite_sent img,
#invitation_sent img{
    background-color: #47CC0AB2;
    padding: 8px;
    width: 32px;
    height: 32px;
    border-radius: 33px;
}

/* fin invitation modals*/


/*modal game rules*/

#how_to_play .info_game h5 {
    color: #FF4D01;
    font-weight: 700;
}

#how_to_play button {
    float: left;
}

@media (max-width:767px) {
    #how_to_play .back {
        display: none;
    }

    #how_to_play button:last-child {
        display: block;
    }
}

@media (min-width:768px) {
    #how_to_play .back {
        display: block;
    }

    #how_to_play button:last-child {
        display: none;
    }
}

.grid2rows {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    align-items: center;
    grid-auto-rows: 10rem;
    height: calc(10rem* 2 + 1rem + 5px);
    overflow-y: auto;
    gap: 1rem;
}

.gridElement {
    max-width: 7rem;
}

/*fin modal game rules*/
@media (max-width: 768px) {

    .grid2rows {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-items: center;
        align-items: center;
        grid-auto-rows: 8rem;
        height: calc(8rem* 2 + 1rem + 5px);
        overflow-y: auto;
        overflow-x: hidden;
        gap: 0;
    }

    .gridElement {
        max-width: 3.5rem;
    }

    .gridElementCard {
        max-width: 6rem;
    }
}

.fixedHeightScrollable {
    max-height: 20rem;
    overflow-y: auto;
}

.border-black-preclass{
    border: 3px solid var(--bg-neutral-dark-op100);
    cursor:pointer;
}

/* Scrollbar*/
/* width */
#instructionModal ::-webkit-scrollbar {
    width: 10px;
}

.modal {
    background-color: #000000b3;
}

@media (min-width: 820px) {
    .horizontal.col-md-12 {
        padding-left: 0;
    }
    .horizontal {
        margin-left: -15px;
        margin-right: -15px;
    }
    .horizontal .game_image {
        margin-left: 0;
    }
}
#instructionModal ::-webkit-scrollbar-track {
    border-radius: 9999px;
    background: #CCC;
}

#instructionModal ::-webkit-scrollbar-thumb {
    border-radius: 9999px;
    background: #FF4D01;
}

#instructionModal ::-webkit-scrollbar-thumb:hover {
    background: #555;
}


/* ESTILOS DEL MODAL DE BOTS */
#botModal {
    background: #1A1A1A 0% 0% no-repeat padding-box;
    border: 2px solid #232323;
    box-shadow: 0px 3px 6px #0000004D;
    border-radius: 20px;
    opacity: 1;
    padding: 1rem;
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    width: 22rem;
    min-width: 22rem;
    max-width: calc(100vw - 2rem);
    z-index: 1002;

    /* hide by default; JS toggles this */
    display: none;
}

#botModal .bot-modal-content {
    width: 100%;
    min-width: 0;
}

@media (max-width: 600px) {
    #botModal {
        position: fixed;
        bottom: 0;
        top: unset;
        left: calc(-1 * (5vw / 2));
        transform: none;
        width: calc(100% + 5vw);
        min-width: 0;
        max-width: none;
        border-radius: 20px 20px 0 0;
    }
}

.btnBotsPlusMinus{
    display: flex;
    align-items: center;
    width: 3.9rem;
    justify-content: space-between;
}

#botModal .bot-modal-content > p {
    text-align:left;
}

#botModal .bot-modal-content .bot_chip,
#botModal .bot-modal-content .bot_jack,
#botModal .bot-modal-content .bot_ace,
#botModal .bot-modal-content .bot_joker {
    display:flex;
    padding: 7px 5px;
    border-radius: 16px;
    border: 1px solid #4D4D4D;
    background: #1A1A1A;
    box-shadow: 0px 4.5px 9px 0px rgba(0, 0, 0, 0.30);
    justify-content: space-around;
}

#botModal .bot-modal-content .bot_chip > p,
#botModal .bot-modal-content .bot_jack > p,
#botModal .bot-modal-content .bot_ace > p,
#botModal .bot-modal-content .bot_joker > p {
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    width: 40%;
    height: 12%;
    /* justify-content: space-evenly; */
    align-items: flex-start;
}

#botModal .bot-modal-content .bot_chip > div:first-child > img,
#botModal .bot-modal-content .bot_jack > div:first-child > img,
#botModal .bot-modal-content .bot_ace > div:first-child > img,
#botModal .bot-modal-content .bot_joker  > div:first-child > img {
    border-radius: 99px;
}

#botModal .bot-modal-content .bot_chip > p > span:first-child,
#botModal .bot-modal-content .bot_jack > p > span:first-child,
#botModal .bot-modal-content .bot_ace > p > span:first-child,
#botModal .bot-modal-content .bot_joker  > p > span:first-child {
    font-size: 12px;
}

#botModal .bot-modal-content .bot_chip > p > span:nth-child(2),
#botModal .bot-modal-content .bot_jack > p > span:nth-child(2),
#botModal .bot-modal-content .bot_ace > p > span:nth-child(2),
#botModal .bot-modal-content .bot_joker  > p > span:nth-child(2) {
    font-size: 14px;
}

#botModal .bot-modal-content .bot_chip > p > span:nth-child(2) {
    color: var(--border-success);
}

#botModal .bot-modal-content .bot_jack > p > span:nth-child(2) {
    color: var(--border-primary);
}

#botModal .bot-modal-content .bot_ace > p > span:nth-child(2) {
    color: var(--border-alert);
}

#botModal .bot-modal-content .bot_joker > p > span:nth-child(2) {
    background: linear-gradient(90deg, #47CC0A 0%, #FF4D01 52%, #E51717 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* FIN ESTILOS DEL MODAL DE BOTS */


/* ESTILOS DEL MODAL DE DIFICULTAD */
#difficultyModal {
    z-index: 1002;
}

#difficultyModal .difficulty-modal-content {
    width: 100%;
    min-width: 0;
}

#difficultyModal .difficulty-modal-content > p {
    color: #FFFFFF;
}

#difficultyModal .difficulty-modal-content .difficulty_chip,
#difficultyModal .difficulty-modal-content .difficulty_jack,
#difficultyModal .difficulty-modal-content .difficulty_ace {
    display:flex;
    border: 1px solid #4D4D4D;
    border-radius: 16px;
    background: #232323;
    padding: 5px 10px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

#difficultyModal .difficulty-modal-content .difficulty_chip > img,
#difficultyModal .difficulty-modal-content .difficulty_jack > img,
#difficultyModal .difficulty-modal-content .difficulty_ace > img {
    border-radius:99px;
    width:35px;
    height:35px;
}

#difficultyModal .difficulty-modal-content .difficulty_chip > p > span:first-child,
#difficultyModal .difficulty-modal-content .difficulty_jack > p > span:first-child,
#difficultyModal .difficulty-modal-content .difficulty_ace > p > span:first-child {
    font-size:12px;
}

#difficultyModal .difficulty-modal-content .difficulty_chip > p > span:nth-child(3),
#difficultyModal .difficulty-modal-content .difficulty_jack > p > span:nth-child(3),
#difficultyModal .difficulty-modal-content .difficulty_ace > p > span:nth-child(3) {
    font-size:14px;
}

#difficultyModal .difficulty-modal-content .difficulty_chip > p > span:nth-child(3) {
    color: var(--border-success);
}
#difficultyModal .difficulty-modal-content .difficulty_jack > p > span:nth-child(3) {
    color: var(--border-primary);
}
#difficultyModal .difficulty-modal-content .difficulty_ace > p > span:nth-child(3) {
    color: var(--border-alert);
}

/* FIN ESTILOS DEL MODAL DE DIFICULTAD */

/*fin scrollbar*/

.grid1col1row{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    /*centered*/
    justify-content: center;
    align-items: center;
    justify-items: end;
}

.gridElementPos1{
    grid-column: 1;
    grid-row: 1;
}
.messsageSuccessfull{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #1A1A1A;
    border: 1px solid #47CC0AB2;
    border-radius: 16px;
    padding: 16px;
    gap: 12px;
    z-index: 9999;
    position: fixed;
    bottom: 3rem;
    left: 50%;
    transform: translate(-50%);
}
.messsageSuccessfull img:first-child {
    background-color: #47CC0AB2;
    width: 32px;
    height: 32px;
    border-radius: 33px;
    padding: 8px;
    margin-right: auto;
}
.messsageSuccessfull>p {
    margin: 0px;
}

.messsageInfo{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #1A1A1A;
    border: 1px solid #4D4D4DB2;
    border-radius: 16px;
    padding: 16px;
    gap: 12px;
    z-index: 9999;
    position: fixed;
    bottom: 3rem;
    left: 50%;
    transform: translate(-50%);
}
.messsageInfo img:first-child {
    background-color: #4D4D4DB2;
    width: 32px;
    height: 32px;
    border-radius: 33px;
    padding: 8px;
    margin-right: auto;
}
.messsageInfo>p {
    margin: 0px;
}

/* FIN ESTILOS DEL MODAL DE INSTRUCCIONES*/

#add-player-popup .dropdown-menu {
    background: #1A1A1A 0% 0% no-repeat padding-box;
    border: 2px solid #232323;
    box-shadow: 0px 3px 6px #0000004D;
    border-radius: 20px;
    opacity: 1;
    /* height: fit-content; */
    padding: 1rem;
    position: absolute;
    top: calc(100% - 24px);
    left: 50%;
    transform: translateX(-50%);
    width: 22rem;
    min-width: 22rem;
    max-width: calc(100vw - 2rem);
}


#modal-addFriend {
    display: none;
    background: #1A1A1A 0% 0% no-repeat padding-box;
    border: 2px solid #232323;
    box-shadow: 0px 3px 6px #0000004D;
    border-radius: 20px;
    opacity: 1;
    width: 305px;
    /* height: fit-content; */
    padding: 1rem;
    position: absolute;
    top:4rem;
    left:3rem;
}

#modal-addFriend.dropdown-menu {
    display: none;
    background: #1A1A1A 0% 0% no-repeat padding-box;
    border: 2px solid #232323;
    box-shadow: 0px 3px 6px #0000004D;
    border-radius: 20px;
    opacity: 1;
    padding: 1rem;
}

@media (max-width:400px) {
    #modal-addFriend {
        left: 0rem;
        width:250px;
    }
}

@media (max-width: 600px) {
    #modal-addFriend {
        position: fixed;
        top: unset;
        bottom: max(12px, env(safe-area-inset-bottom));
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 90vw;
        max-width: 90vw;
        z-index: 1000;
    }
}

#modal-addFriend.mobile-sheet {
    position: fixed !important;
    top: unset !important;
    bottom: max(12px, env(safe-area-inset-bottom)) !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: 90vw !important;
    max-width: 90vw !important;
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    border-radius: 20px;
    z-index: 12010;
}

#modal-addFriend.mobile-sheet .modal-content-addFriend {
    width: 100%;
}

#modal-addFriend .modal-content-addFriend h3{
   /*  font-weight: bold; */
    font-size: 1.125rem;
    margin-left: 1rem;
    margin-bottom: 1rem;
}

#modal-addFriend .modal-content-addFriend input{
    color:#ffffff;
    background: #232323;
    border-radius: 22px;
    border:none;
    width:100%;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
}

#modal-addFriend #closeModalAddfriend {
    position: relative;
    top: -5px;
    left: 6px;
    cursor: pointer;
}

.input-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin-bottom: 0;
}

.input-container input[type="email"] {
    width: 50%;
    padding: 10px;
    padding-right: 80px; 
    box-sizing: border-box;
}

.input-container input[type="submit"]:hover {
    background-color: #FF4D01;
}

.player-seats-container {
    gap: 40px;
    align-items: flex-start !important;
}

.addPlayerBlock {
    width: 80px;
    min-width: 80px;
    flex: 0 0 80px;
    display: flex;
    justify-content: center;
}

.addPlayerBlock .playerSeat {
    min-width: 0;
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.addPlayerBlock .playerSeat > span,
.addPlayerBlock .playerSeat > p {
    display: block;
    max-width: 80px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



.addPlayerBlock .avatar {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px dashed #82716A;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
}

.addPlayerBlock:not(:first-child):not(.occupied) .avatar {
    transition: opacity 0.18s ease;
}

.addPlayerBlock:not(:first-child):not(.occupied) .avatar:hover,
.addPlayerBlock:not(:first-child):not(.occupied) .avatar.seat-selected {
    opacity: 0.68;
}

.addPlayerBlock .avatar.min {
    border-color: #FF4D01;
}

/* .addPlayerBlock .avatar {
    cursor: pointer;
    border-color: #FF4D01;
} */
.addPlayerBlock:first-child .avatar {
    border: none;
    opacity: 0.6;
}
.addPlayerBlock:first-child img {
    width: 100%;
}

.addPlayerBlock:first-child .playerSeat > span,
.addPlayerBlock:first-child .playerSeat > p {
    opacity: 0.6;
}

.tooltip {
  position: absolute;
  bottom: 100%; /* show above the player */
  left: 50%;
  transform: translateX(-50%);
  background: #232323;
  color: #fff;
  padding: 8px 16px;
  border-radius: 16px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* Show tooltip on hover only for empty seats */
.addPlayerBlock:not(.occupied) .playerSeat:hover .tooltip {
  opacity: 1;
}

.addPlayerBlock.occupied .tooltip {
    opacity: 0 !important;
    pointer-events: none;
}

/* Arrow */
.tooltip-arrow {
  position: absolute;
  top: 100%;              /* arrow at bottom of tooltip */
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #232323;
}

/* Remove (cross) button shown on occupied seats */
.playerSeat {
    position: relative;
}
.playerSeat .seat-remove-btn {
    position: absolute;
    top: -12px;
    right: -12px;
    background: transparent;
    border: 0;
    cursor: pointer;
    z-index: 30;
}
.playerSeat .seat-remove-btn img {
    width: 20px;
    height: 20px;
    display: block;
}

/* When a seat is occupied use a solid, thicker border */
.addPlayerBlock.occupied .avatar {
    border-style: solid;
    border-width: 3px;
    border-color: #FF4D01;
}

.generated-link-container {
    color: #1A1A1A;
    font-size: 18px;
    background-color: #FAFAFA;
    padding: 12px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.copy-btn-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

#copy-generated-link-btn {
    cursor: pointer;
}

.bot-coming-soon {
    opacity: 0.5;
    cursor: default;
    text-align: left;
}

.invite-alert {
    color: #B3B3B3;
    font-size: 18px;
    margin-top: 8px;
    margin-bottom: 20px;
    text-align: left;
}

.mobile-overlay {
    display: none;
}

#betaModal .modal-content {
    position: relative;
}

#betaModal #closeBetaModal {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

#betaModal #closeBetaModal img {
    width: 24px;
    height: 24px;
    display: block;
}

#betaModal #closeBetaModal:hover {
    opacity: 0.75;
}

@media (max-width: 600px) {
    .player-seats-container {
        /* gap: 20px;
        flex-wrap: wrap; */
        --mobile-seat-gap: clamp(14px, 3.2vw, 22px);
        display: grid!important;
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 1fr;
        gap: var(--mobile-seat-gap);
        padding: var(--mobile-seat-gap);
    }

    .playerSeat:hover .tooltip {
        opacity: 0;
    }

    .addPlayerBlock {
        position: static!important;
    }

    #add-player-popup .dropdown-menu {
        position: fixed!important;
        top: unset!important;
        bottom: max(12px, env(safe-area-inset-bottom))!important;
        left: 50%!important;
        right: auto!important;
        transform: translateX(-50%)!important;
        width: 90vw;
        min-width: 0;
        max-width: 90vw;
        height: fit-content;
    }

    #instructionModal .modal-content {
        padding: 35px 15px;
    }

    #instructionModal .modal-content #customize_game {
        padding-bottom: 0;
    }

    #instructionModal .modal-content #customize_game .footer {
        position: static;
        margin-top: 0.75rem;
        right: 0;
    }

    #instructionModal .modal-content #customize_game .footer p {
        justify-content: center;
        text-align: center;
        width: 100%;
        gap: 0.45rem;
        font-size: 0.95rem;
        overflow-x: visible;
    }

    #instructionModal .modal-content #customize_game .footer .icon_time_invitation,
    #instructionModal .modal-content #customize_game .footer .icon_games,
    #instructionModal .modal-content #how_to_play .footer .icon_time_invitation,
    #instructionModal .modal-content #how_to_play .footer .icon_games {
        width: 22px;
        height: 18px;
    }

    #instructionModal .modal-content #customize_game .footer .js-modal-players-meta img,
    #instructionModal .modal-content #how_to_play .footer img[src$="players.svg"] {
        width: 22px;
        height: 18px;
    }

    .difficulty-modal-content {
        width: 100%;
    }

    .mobile-overlay {
        position: fixed;
        inset: 0;                 /* top:0 right:0 bottom:0 left:0 */
        background: rgba(0,0,0,0.5);
        z-index: 999;
        outline: 1.5px solid rgba(0, 0, 0, 0.5);
        border-radius: 22px;
    }
}

.friend-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.friend-avatar-link {
  flex-shrink: 0;
}

.friend-avatar-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.friend-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.friend-name {
  font-family: 'Maven Pro', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #fafafa;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

.friend-status-text {
  text-align: left;
}

.friend-avatar-link {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.friend-online-dot {
  position: absolute;
  bottom: 2px;
  right: 15px;
  width: 14px;
  height: 14px;
  background-color: #47CC0A;
  border-radius: 50%;
}

.friend-status-text {
  font-size: 13px;
  font-family: 'Maven Pro', sans-serif;
  white-space: nowrap;
  margin-top: 2px;
  display: block;
}

.friend-status-text.available { color: #47CC0A; }
.friend-status-text.playing { color: #FF4D01; }