/* @media Servers List */

@media screen and (max-width: 850px) {
  table {
    border: 0;
  }

  #serversList table caption {
    font-size: 1.3em;
  }
  
  #serversList table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  #serversList table tr {
    /*border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em; */
	
	border: 1px solid #ddd;
    display: block;
    margin-bottom: 0.625em;
    border-radius: 4px;
  }
  
  #serversList table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .8em;
    text-align: right;
  }
  
  #serversList table td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: right;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0 10;
  }
  
  #serversList table td:last-child {
    border-bottom: 0;
  }

    #content {
    display: table;
    margin: auto;
    width: 100%;
}

    #centerContent{

        width: 100% !important;
    }

td.titles {
    font-size: 18px;
}

tr.titles{border: none;}

  #serversList table .server td {padding: 10px !important;font-size: 14px !important;}
  
  
  .image:hover .tooltips{

  visibility: hidden;
  display: none;
  
}

.gamenameshow {
	
	display: block;
}

.gamensw {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.minfobutt {
    background-color: #007eff;
    border-radius: 6px;
    color: #fff !important;
    display: block;
    font-size: 13px;
    font-weight: 500;
    line-height: 16px;
    padding: 7px 8px;
    text-align: center;
    width: 130px;
}

.minfobuttwh
{
	background-color: #ffffff;
    border-radius: 6px;
    color: #007eff !important;
    display: block;
    font-size: 13px;
    font-weight: 500;
    line-height: 16px;
    padding: 7px 8px;
    text-align: center;
    width: 130px;
    font-family: 'Heebo', sans-serif !important;
    font-weight: bolder;
    box-shadow: rgb(213 213 213) 0px 1px 0px 0px, rgb(219 219 219) 0px 0px 0px 1px;
}

.infobutto {
    display: flex;
    justify-content: center;
}

.toolsmed {
    display: none;
}

#sort {
	
	overflow: auto;
    max-width: 100vw;
    width: 100%;
	flex-wrap: nowrap;
	overflow-y: hidden;
	gap: 5px;
}

#best .bg
{
	width: 100% !important;
}

#best
{
	overflow: hidden;
}
  
}

/* @media Servers List */



/* media #page  */


@media screen and (max-width: 600px) {
.tooltip .tooltip-left {
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px !important;
    bottom: unset;
    right: unset;
	margin-right: 0;

}
	.tooltip
	{
		display: flex;
	}
}


@media screen and (max-width: 1000px) {
#page {
    width: 100vw;
}

    .spsectwo, .spsects{
        padding: 0 !important;
        width: 100% !important;
        
    }

    .spsecto{
        display: flex !important;
        flex-direction: column;
    }
}


@media screen and (max-width: 991px){
.grecaptcha-badge { 
 visibility:hidden;
 }
}

/*  */

@media screen and (max-width: 850px) {
	
	.footersta, .copyright {
    width: 100% !important;
}

    .footersta {
    flex-direction: column;
}
    .footma{
     width: 100%;
     justify-content: center;
     display: flex;
    }
	
	.ultra {
    width: 100% !important;
	}
}

@media screen and (max-width: 600px) {

    .ultra{
    width: 100%;
    flex-direction: column;
    }
    
    .ulrmain {
    flex-direction: column;
}
}


@media screen and (max-width: 335px) {

.name {
    max-width: 285px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    direction: ltr;
}
}

@media screen and (max-width: 382px) {
.statsfot {
flex-direction: column;
}
}
/*  */


/* @media header */



@media screen and (max-width: 600px) {
.navigbar {
    display: flex;
    align-items: center;
    order: 2;
    flex-direction: row-reverse;
}

  .navbara {
    float: flex;
    flex-direction: column;
    justify-content: center;
  }

  .navbara a:not(:first-child) {display: none;}
  .navigbar a.icon {
    display: block;
    color: white;
  }

  .navbara.responsive .icon {
    position: absolute;
    right: 10;
    top: 10;
    font-size: 25px;
    color: white;
  }
  .navbara.responsive a {
    float: none;
    display: block;
  }

	.slogos {
	display: none; 
	}

	.texcon {
	display: none; 
	}

	.connectbut {
	margin-left: 10px;
	}

	.connecti {
    height: 35px;
    width: 35px;
    font-size: 20px;
	}
	
	.connectb {
	display: none; 	
	}

	.tag {
	display: none; 	
	}	

 .statv {flex-direction: column;
 align-items: flex-start;
 }
 
 
 .bg:hover{
	padding: 0px !important;
	} 
.bg {		
	height: auto !important;
	border-radius: 0px !important;
  }
 
	.restpage {
	 padding: 0 0;
	} 
 
 	.containgp {
	display: none;}
	
	.containg{
	flex-direction: column;
	gap: 10px;
	width: 100%;
	align-items: center;
	}
	
	.categories{ 
	width: 100%;
	}
	
	.allcat {
	column-gap: 2px;
	gap: 10px;
	padding: 0;
	flex-direction: row !important;
	}
 
 	.categ {
		width: 150px;
		max-width: 170px;
	}
 
 	.vipconnect {
	 width: 100%;	
	}
 
	.titleserv{
	width: auto;
	border-radius: 0 !important;
	}
	
	.vips{
	width: 100%;
	border-radius: 0px;
	padding: 0;}
	
	.sideser{width: 100%;}
	
	.listscon {
	flex-direction: column;
	width: 100%;
	}
 
 
	.infobut {
	display: none;	
	}	
 
 
 
 	.vipimgm{
	width: auto;
	width: auto;
	height: 100px;}

	.aligvip{
    align-items: center;
    max-width: 100%;
    width: auto;
    padding: 20px;
}

	.vipdata {
	flex-direction: column;
	gap: 5px;}
 
	.vipimgm{margin: 0;}
	
 
 
	.orderline2{
    padding: 0px;
}
	.servord2{
    margin: 0 0 0 0;
    gap: 20px;
	flex-wrap: wrap;
}
 
 
 .srvdata{
	 width: 100%;
	 padding: 0 0px 0 0;
 }


	.boxs{
	width: auto;
	max-width: 100%;
	}
	
	.search{max-width: 150px;
	width: auto;
	justify-content: center;
	}
	
	.lisservers {
		width: 100%;
		}
	
	.viname {
	word-wrap: break-word;
	width: auto;
}

	.titserv{
    margin-right: 5px;
}


	.lists{
		padding: 0px;
		border-radius: 0px !important;
		}
	
	.aligl{
		flex-direction: column;
		padding: 16px 0;
        width: 100%;
        gap: 10px;
}

	.rotpages{
    justify-content: center;
}


a.iconsvs {
    padding: 10px;
}

.menusvs {
    gap: 0;
}
 
}

/*  Reses  */


@media screen and (max-width: 400px) {
	
	.connectbut {
    margin-left: 0px;
	}

#topbar .social .count
	{
	width: 50px;
	}	
}

@media screen and (max-width: 340px) {

#topbar .social .count
	{
	width: auto;
	}	
}


	
@media screen and (max-width: 600px) {
	
.logonav {
    display: flex;
    flex: none;
}

.navmain {
	justify-content: space-between;
}
		
}


@media screen and (max-width: 450px) {
	
.fbplc {
    flex-direction: column;
    gap: 10px;
}
		
}


/*  Reses  */
@media screen and (max-width: 1200px) {

.fbplcr, .fbplogout {
    display: flex;
    padding: 0 15px;
    justify-content: space-around;
}

.fbplogout
{
	padding-left: 10px;
}
/*  Reses  */

	
/*  Reses  */


@media only screen and (min-width: 600px) and (max-width: 800px) {
.navigbar {
    display: flex;
    align-items: center;
    order: 2;
    flex-direction: row-reverse;
}

  .navbara {
    float: flex;
    flex-direction: column;
    justify-content: center;
  }

  .navbara a:not(:first-child) {display: none;}
  .navigbar a.icon {
    display: block;
    color: white;
  }

  .navbara.responsive .icon {
    position: absolute;
    right: 10;
    top: 10;
    font-size: 25px;
    color: white;
  }
  .navbara.responsive a {
    float: none;
    display: block;
  }

	.slogos {
	display: none; 
	}

	.texcon {
	display: none; 
	}

	.connectbut {
	margin-left: 10px;
	}

	.connecti {
    height: 35px;
    width: 35px;
    font-size: 20px;
	}
	
	.connectb {
	display: none; 	
	}

	.tag {
	display: none; 	
	}	

 .statv {flex-direction: column;
 align-items: flex-start;
 }
 
 
 .bg:hover{
	padding: 0px !important;
	} 
.bg {		
	height: auto !important;
	border-radius: 0px !important;
  }
 
	.restpage {
	 padding: 0 0;
	} 
 
 	.containgp {
	display: none;}
	
	.containg{
	gap: 20px;
    width: 100%;
    align-items: center;
    justify-content: center;
	}
	
	.categories{ 
	width: 100%;
	}
	
	.allcat {
	column-gap: 2px;
	gap: 10px;
	padding: 0;
	flex-direction: column;
	}
 
 	.categ {
		width: 150px;
		max-width: 170px;
	}
 
 	.vipconnect {
	 width: 100%;	
	}
 
	.titleserv{
	width: auto;
	border-radius: 0 !important;
	}
	
	.vips{
	width: 100%;
	border-radius: 0px;
	padding: 0;}
	
	.sideser{width: 100%;}
	
	.listscon {
	flex-direction: column;
	width: 100%;
	}
 
 
	.infobut {
	display: none;	
	}	
 
 
 
 	.vipimgm{
	width: auto;
	width: auto;
	height: 100px;}

	.aligvip{
    align-items: center;
    max-width: 100%;
    width: auto;
    padding: 20px;
}

	.vipdata {
	flex-direction: column;
	gap: 5px;}
 
	.vipimgm{margin: 0;}
	
 
 
	.orderline2{
    padding: 15px;
}
	.servord2{
    margin: 0 0 0 0;
    gap: 20px;
}
 
 
 .srvdata{
	 width: 100%;
	 padding: 0 0px 0 0;
 }


	.boxs{
	width: auto;
	max-width: 100%;
	}
	
	.search{max-width: 150px;
	width: auto;
	justify-content: center;
	}
	
	.lisservers {
		width: 100%;
		}
	
	.viname {
	word-wrap: break-word;
	width: auto;
}

	.titserv{
    margin-right: 5px;
}


	.lists{
		padding: 0px;
		border-radius: 0px !important;
		}
	
	.aligl{
    flex-direction: column;
    padding: 16px;
    /* width: 100%; */
    align-items: end;
    gap: 10px;
}

	.rotpages{
    justify-content: center;
}


 
}


/*  Reses  */

@media only screen and (min-width: 800px) and (max-width: 950px) {
	
  .navbara {
    justify-content: center;
	flex-direction: column;
  }	
	
}

/*  Reses  */


/*  Reses  */


@media only screen and (min-width: 800px) and (max-width: 1200px) {
.navigbar {
    display: flex;
    align-items: center;
    order: 2;
    flex-direction: row-reverse;
}

  .navbara {
    justify-content: center;
  }

  .navbara a:not(:first-child) {display: none;}
  .navigbar a.icon {
    display: block;
    color: white;
  }

  .navbara.responsive .icon {
    position: absolute;
    right: 10;
    top: 10;
    font-size: 25px;
    color: white;
  }
  .navbara.responsive a {
    float: none;
    display: block;
  }

	.slogos {
	display: none; 
	}

	.texcon {
	display: none; 
	}

	.connectbut {
	margin-left: 10px;
	}

	.connecti {
    height: 35px;
    width: 35px;
    font-size: 20px;
	}

 .statv {
 align-items: flex-start;
 }
 
 
 .bg:hover{
	padding: 0px !important;
	} 

 
	.restpage {
	 padding: 0 0;
	} 
 
 	.containgp {
	display: none;}
	
	.containg{
	gap: 20px;
    width: 100%;
    align-items: center;
    justify-content: center;
	}
	
	.categories{ 
	width: 100%;
	}
	
	.allcat {
	column-gap: 2px;
	gap: 10px;
	padding: 0;
	flex-direction: column;
	}
 
 	.categ {
		width: 150px;
		max-width: 170px;
	}
 
 	.vipconnect {
	 width: 100%;	
	}
 
	.titleserv{
	width: auto;
	border-radius: 0 !important;
	}
	
	.vips{
	width: 100%;
	border-radius: 0px;
	padding: 0;}
	
	.sideser{width: 100%;}
	
	.listscon {
	flex-direction: column;
	width: 100%;
	}
 
 
 	.vipimgm{
	width: auto;
	width: auto;
	height: 100px;}

	.aligvip{
    align-items: center;
    max-width: 100%;
    width: auto;
    padding: 20px;
}

	.vipdata {
	flex-direction: column;
	gap: 5px;}
 
	.vipimgm{margin: 0;}
	

 
 
	.orderline2{
    padding: 15px;
}
	.servord2{
    margin: 0 0 0 0;
    gap: 20px;
}
 
 
 .srvdata{
	 width: 100%;
	 padding: 0 0px 0 0;
 }


	.boxs{
	width: auto;
	max-width: 100%;
	}
	
	.search{max-width: 150px;
	width: auto;
	justify-content: center;
	}
	
	.lisservers {
		width: 100%;
		}
	
	.viname {
	word-wrap: break-word;
	width: auto;
}

	.titserv{
    margin-right: 5px;
}


	.lists{
		padding: 0px;
		border-radius: 0px !important;
		}
	
	.aligl{
    flex-direction: row;
    padding: 16px;
    /*width: 100%;*/
    gap: 5px;
}

	.rotpages{
    justify-content: center;
}

.srvconnect{
	    display: none;
}


 
}


/* Server */


@media screen and (max-width: 600px) {



a.iconsvs {
    padding: 10px;
}

.menusvs {
    gap: 0;
}
 
}

/*  Reses  */


@media screen and (max-width: 400px) {
	
	.connectbut {
    margin-left: 0px;
	}
	
	.containg{
	flex-direction: column;
	gap: 10px;
	}
	
	.allcat {
	column-gap: 2px;
	flex-direction: column !important;
	gap: 10px;
	}
	
	.tagserv {
    flex-wrap: wrap;
	}
	
	h1{
	padding: 0 5px;
    flex-direction: column;	
	}
		
	img.signde {
    width: 100% !important;
    height: auto;
}
		
}


@media screen and (max-width: 650px) {
	
	.blocksign
{
    /*flex-direction: column;
	align-items: center;
    gap: 5px;
	padding: 0px;*/
	}
	
}


@media screen and (max-width: 450px) {
	
.buttonspage a 
{
    padding: 10px 21px;
}
	
}
	
	
/* Reses */
	
@media screen and (max-width: 900px) {

.buttsor{
	
	/*flex-direction: column;*/
	flex-wrap: wrap;
}

.ipcopyto{
	
	width: fit-content;
}
	
	.buttonspage, .buttsor {
    max-width: 100%;
}

	
}
	/* Reses */
	@media screen and (max-width: 747px) {

.contsblow.signgrid {
    grid-template-columns: repeat(1, 1fr);
}
}


	
@media screen and (max-width: 800px) {

.seder{
	
	width: 100%;
}
	
.mainpslist {
    width: 100%;
}

.contsblow {
    flex-direction: column;
}

.col-plist::-webkit-scrollbar  {
display: none;
-webkit-appearance: none;
}

.statistic {
    width: 100%;
}

.server .details
{
	width: 100% !important;
}
	
}


@media only screen and (min-width: 550px) and (max-width: 750px) {

.mppic{
	
	display: none;
}

}


@media screen and (max-width: 850px) {
.layosign
{
    grid-template-columns: repeat(2, 1fr);
}
}

@media screen and (max-width: 650px) {
.layosign
{
    grid-template-columns: repeat(1, 1fr);
}
}
/*  Reses  */

@media screen and (max-width: 550px) {

.spdetailsb {
    flex-wrap: wrap;
}

.rsinspg {
    position: relative;
    width: 100%;
	flex-wrap: wrap;
}

.maindetail {
    width: 100%;
}

.barnaer{
	
	display:none;
}

}
	
/*  Reses  */

/* @media Players List Test */

@media screen and (max-width: 370px) {
		.server .players{

		box-shadow: none;
		background: transparent;
		border: none;
	}

  .players  caption {
    font-size: 1.3em;
  }
  
  .players thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  .players tr {
    /*border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em; */
    border: 1px solid #ddd;
    display: block;
    margin-bottom: 0.625em;
    border-radius: 4px;
  }
  
  .players td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .8em;
    text-align: right;
  }
  
  .players td::before {
    /*
    * aria-label has no advantage, it won't be read inside a 
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: right;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0 10;
  }
  
  .players td:last-child {
    border-bottom: 0;
  }

	.server .players td{

		max-width: 100%;
		text-align: left;
	}

.players tr
{
 background: white !important;
}

  
}

/* @media Players List Test */


/* @media GSM Discord Bot Page */


@media screen and (max-width: 750px){

.gsmseco {
    flex-direction: column;
}

.gsmtit, .gsmgif {
    width: 100%;
    max-width: 100%;
}


.gsmfeaturepic {
    grid-template-columns: repeat(1, 1fr);
}
}

/* Align items to flex-end for players/ping labels to keep them vertically aligned */
.mobile-pl-info {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end !important;
    justify-content: center;
}

/* ========================================= */
/* MOBILE VIEW OPTIMIZATIONS (UNDER 768PX)   */
/* ========================================= */
@media (max-width: 768px) {
    /* Main list Header Toolbar Mobile */
    .new-thead {
        display: none !important;
    }

    /* CSS Grid Mobile layout */
    .new-tr {
        display: grid !important;
        grid-template-columns: 1fr 50px !important; /* 2 columns */
        padding: 14px 16px !important;
        row-gap: 8px !important;
        column-gap: 0 !important;
        border-right: none !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }

    /* Span full width (2 columns) */
    .mobile-header-row {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        grid-column: span 2 !important;
        font-size: 11px;
        border-bottom: 1px dashed #f1f5f9;
        padding-bottom: 6px;
        margin-bottom: 4px;
        direction: rtl;
    }

    .mobile-header-row .new-col-country {
        flex-direction: row !important;
        align-items: center !important;
        gap: 6px !important;
		justify-content: flex-start !important;
    }
    .mobile-header-row .new-col-country img {
        margin: 0 !important;
    }

    .mobile-rk-badge {
        font-size: 11px;
        font-weight: 800;
        color: #64748b;
        background: #f1f5f9;
        padding: 2px 8px;
        border-radius: 4px;
    }
    .vip-highlight .mobile-rk-badge {
        color: #854d0e;
        background: #fef3c7;
    }
    .bold-highlight .mobile-rk-badge {
        color: #1e40af;
        background: #eff6ff;
    }

    .desktop-only {
        display: none !important;
    }

    .new-col-info {
        grid-column: span 2 !important;
        height: auto !important;
        padding-left: 0 !important;
        margin-bottom: 4px !important;
    }
    .new-col-name {
        font-size: 14.5px !important;
        white-space: normal !important;
    }

    /* Map row spans 2 columns */
    .new-col-map {
        grid-column: span 2 !important;
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
        border-top: 1px solid #f1f5f9;
        padding-top: 8px;
        margin-top: 4px;
    }
    .new-col-thumb {
        width: 44px !important;
        height: 26px !important;
    }

    /* Custom stacked vertical info layout for map details on mobile */
    .mobile-map-info {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .new-col-map-n {
        font-size: 12px !important;
        color: #334155 !important;
        font-weight: 800 !important;
        line-height: 1.1;
    }

    /* Mobile sub-labels stacked vertically below values */
    .mobile-label-sub {
        display: block !important;
        font-size: 9px !important;
        color: #94a3b8 !important;
        font-weight: 700 !important;
        margin-top: 2px !important;
        line-height: 1 !important;
        text-transform: uppercase;
    }

    /* Stats column spans column 1 (left side) */
    .new-col-pl {
        grid-column: 1 !important;
        height: auto !important;
        flex-direction: row !important; /* Horizontal inline stats layout */
        justify-content: flex-start !important;
        align-items: center !important;
        width: 100% !important;
        border-top: 1px dashed #f1f5f9;
        padding-top: 8px;
        margin-top: 4px;
        gap: 8px !important;
    }

    .mobile-pl-stats-wrapper {
        display: flex;
        align-items: center;
        gap: 10px;
        direction: ltr;
    }

    /* Copy Action spans column 2 */
    .new-col-acts {
        grid-column: 2 !important;
        justify-content: flex-end !important;
    }

    /* VIP Cards Mobile Stack */
    .vip-card-b {
        grid-template-columns: 1fr !important;
        border-right: none !important;
        border-top: 4px solid #f59e0b !important;
        height: auto !important;
    }
    .vip-b-img {
        height: 130px !important;
        min-height: 130px !important;
        width: 100% !important;
    }
    .vip-b-img-overlay {
        background: linear-gradient(0deg, rgba(15, 23, 42, 0.8) 0%, transparent 100%);
    }
    .vip-b-rank {
        left: unset;
        right: 12px;
        bottom: 8px;
    }
    .vip-b-badge {
        right: unset !important;
        left: 12px;
    }

    /* Main list Header Toolbar Mobile Layout */
    .srv-filter-games {
        display: none !important;
    }
    .srv-filter-integrated {
        padding: 10px 12px !important;
        justify-content: center !important;
    }
    .srv-filter-controls {
        width: 100% !important;
        justify-content: space-between !important;
    }
    .srv-search-box-live {
        flex: 1 !important;
        width: auto !important;
    }
    .vip-b-play-btn {
        display: none !important;
    }
    .play-srv-btn {
        display: none !important;
    }
}