@media (max-width: 600px){
	
	.td-chain{
		
		display: none;
	}
	
	
.аllbaner {
display: none;
}

 .scroll-up {
        display: none !important;
    }
	
.carousel {
        display: none !important;
    }
	.carous {
        display: none !important;
    }	
    .container {
        display: none !important;
    }	
    	
	.gr_end_tiptop {
    padding: 5px 10px;
    position: absolute;
    display: block;
    z-index: 2;
    top: 476px !important;
    right: 9px!important;
    background-color: rgba(0, 150, 0, 1);
    font-size: 11px;
    color: #fff;
    margin-top: -11px;
}	
	
.highcharts-container {
		
    left: -105px;
	}
	
	.menu_mob {
    display: block;
}
	
      .main {
        width: 100%;
        margin-top: 0;
        border-radius: 0;
        box-shadow: 0px 0px 11px 3px rgb(0 0 0 / 50%);
        overflow: hidden;
        background: #162425;
    }
    .pk {
      display: none;
    }
    .mob {
      display: block;
    }
    .leftmenu {
        display: none;
    }
    .rightmenu {
        display: none;
    }
    .footer__container {
        width: 100%;
        margin: 0 auto;
    }
  .main-header .menu {
      display: none;
    }

    .home__table2 .td1 {
      width: auto;
    }

    .home__table2 .td2 {
      width: auto;
    }
    .home__table2 .td3 {
        width: 100%;
        display: none;
    }
    .home__table2 .tr1 {
        display: flex;
    }
    .flex-container {
      justify-content: center;
      flex-wrap: wrap;
    }
    .flex-container li {
        text-align: center;
        font-size: 15px;
        margin: 10px;
        display: flex;
        flex-direction: column;
        /* align-items: center; */
    }
    
    .adoska {
      margin: 10px auto;
      margin-bottom: 0;
      width: 125px;
    }
    #contentwrapper {
        padding: 1px 7px 18px 7px;
        overflow: hidden;
        margin: 0 auto;
        width: 90%;
        margin-top: 80px;
        position: absolute;
        top: 5px;
        right: 12px;
        padding-bottom: 125px;
    }
     
     
     
     
     .main-header {
        width: 101%;
        background: linear-gradient(327deg, #0c8325 21%, #000000);
        position: fixed;
        top: 0;
        z-index: 3;
    }  
      
  .statistic {
      flex-wrap: wrap;
  }
  .statistic .stat {
      width: 36%;
      padding: 15px 10px;
      font-size: 14px;
      padding-top: 17px;
      margin: 4px 4px;

  }
  .statistic .stat .subs {
      color: #000;
      font-weight: normal;
      font-size: 11px;
  }
  .open-menu {
      display: block;
      font-size: 31px;
      color: #fff;
      text-shadow: 0px 0px 8px rgb(0 0 0 / 54%);
      margin-top: 19px;
      position: absolute;
      right: 25px;
  }
  .leftmenu-mob {
      display: none;
      position: fixed;
      background: #fff;
      border-right: 1px solid #cbcbcb;
      width: 289px!important;
      top: 0;
      height: 100%;
      overflow-y: scroll;
      overflow-x: hidden;
      /* transition: all 0.5s cubic-bezier(0.77,0.2,0.05,1.0) */
      z-index: 4;
  }

  @keyframes anim{
    50%{
      opacity: 0;
      width: 0;
    }
    100%{
      opacity: 1;
      width: 640px;
    }
  }
  .slideRight{
      animation-name: slideRight;
      -webkit-animation-name: slideRight;

      animation-duration: 0.5s;
      -webkit-animation-duration: 0.5s;

      animation-timing-function: ease-in-out;
      -webkit-animation-timing-function: ease-in-out;

      visibility: visible !important;
  }

  @keyframes slideRight {
      0% {
          transform: translateX(-150%);
      }
      50%{
          transform: translateX(0%);
      }
      65%{
          transform: translateX(0%);
      }
      80%{
          transform: translateX(0%);
      }
      95%{
          transform: translateX(0%);
      }
      100% {
          transform: translateX(0%);
      }
  }

  @-webkit-keyframes slideRight {
      0% {
          -webkit-transform: translateX(-150%);
      }
      50%{
          -webkit-transform: translateX(0%);
      }
      65%{
          -webkit-transform: translateX(0%);
      }
      80%{
          -webkit-transform: translateX(0%);
      }
      95%{
          -webkit-transform: translateX(0%);
      }
      100% {
          -webkit-transform: translateX(0%);
      }
  }
  .slideDown{
      animation-name: slideDown;
      -webkit-animation-name: slideDown;

      animation-duration: 1s;
      -webkit-animation-duration: 1s;

      animation-timing-function: ease;
      -webkit-animation-timing-function: ease;

      visibility: visible !important;
  }

  @keyframes slideDown {
      0% {
          transform: translateY(-100%);
      }
      50%{
          transform: translateY(0%);
      }
      65%{
          transform: translateY(0%);
      }
      80%{
          transform: translateY(0%);
      }
      95%{
          transform: translateY(0%);
      }
      100% {
          transform: translateY(0%);
      }
  }

  @-webkit-keyframes slideDown {
      0% {
          -webkit-transform: translateY(-100%);
      }
      50%{
          -webkit-transform: translateY(0%);
      }
      65%{
          -webkit-transform: translateY(-0%);
      }
      80%{
          -webkit-transform: translateY(0%);
      }
      95%{
          -webkit-transform: translateY(0%);
      }
      100% {
          -webkit-transform: translateY(0%);
      }
  }
  #banner468x60_2 img{
    min-width: 100%!important;
    width: 100%;
  }

  .start-yes-serf, .start-error-serf {
      width: 85px;
  }
  .cash-wm1 div div div, .cash-mb1 div div div, .cash-pm1 div div div, .cash-yd1 div div div, .cash-qw1 div div div, .cash-os1 div div div, .cash-rs1 div div div, .cash-vs1 div div div, .cash-rb1 div div div, .cash-pr1 div div div, .cash-ik1 div div div, .cash-lp1 div div div, .cash-mg1 div div div, .cash-mt1 div div div, .cash-bl1 div div div, .cash-ok1 div div div, .cash-sb1 div div div, .cash-zp1 div div div, .cash-pv1 div div div, .cash-wo1 div div div, .cash-ak1 div div div, .cash-bt1 div div div, .cash-lt1 div div div, .cash-ah1 div div div, .cash-fr1 div div div, .cash-pp1 div div div, .cash-tl1 div div div, .cash-p2m1 div div div, .cash-oopayl div div div, .cash-ethl div div div, .cash-unpayl div div div, .cash-enot div div div, .cash-yk div div div, .cash-ydpay1 div div div, .cash-gpay1 div div div {
      width: 150px;
  }
  .stena .ava {
      display: flex;
      justify-content: center;
      position: relative;
      align-items: center;
      align-content: center;
      flex-direction: column;
  }
  .stena .ava #ava {
      width: 90px;
      height: 90px;
      object-fit: fill;
      box-shadow: 0px 0px 7px 2px rgb(0 0 0 / 36%);
      border-radius: 50%;
      margin-top: 10px;
  }

  .cibn {
      width: 60%;
  }

  .rating-purchase {
      display: flex;
      width: 98%;
      flex-wrap: wrap;
      margin: auto;
      justify-content: center;
      align-items: center;
  }
  .rating-purchase__item {
      margin: 2px;
      width: 120px;
      font-size: 12px;
      min-width: 44%;
  }

  .rating-purchase__item:nth-child(-n+3) {
      margin-bottom: 0;
  }

    .table th {
        font-size: 12px;
    }

    .priv-btn {width:95px;display:inline-block;text-align:center;}

    .adv-line .advmoder {
        font-size: 11px;
    }
    .advmoder span {
      color: #1a6880;
      font-size: 10px;
      font-weight: 400;
  }

  .tsk-table {
      font-size: 10px;
  }
  .status {
      font-size: 11px;
  }
  .block-quest {
      margin: 10px 0;
      font-size: 12px;
  }
  .block-quest .mess {
      padding: 0px 20px;
  }

  .answer-fix .title {
      font-size: 11px;
  }
  .add-infa {
      font-size: 12px;
  }
  .titles {
      margin-top: -1px;
  }
  .login-table {width: 100%;margin:10px auto;}
  #baner img{
    min-width: 100%!important;
    max-width: 100%!important;
  }

  #popup {
    width: 96%!important;
    min-width: 96%!important;
  }

  .footer {
    display: none;
  }
  body {
      background: #272626;
  }
  .main {
      background: #162425;
      box-shadow: none;
  }
  .footer-menu {
      display: flex;
      position: fixed;
      width: 100%;
      background: linear-gradient(78deg, #349f89 21%, #204e98);
      height: 70px;
      color: #fff;
      bottom: 0;
      align-items: center;
      justify-content: space-around;
      margin-left: -1px;
      z-index: 3;
  }
  .footer-menu div {
      display: flex;
      flex-direction: column;
      align-items: center;
  }
  .footer-menu div i {
    font-size: 22px;
    color: #fff;
  }
  .footer-menu div a {
    font-size: 14px;
    color: #fff;
    margin-top: 10px;
  }
  .ava-foot {
    width: 58px;
    height: 58px;
    padding: 2px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: -44px;
    /* background: #F44336; */
    border: 1px solid #349f89;
  }
  .open-ad {
      display: block;
      width: 95%;
      min-width: 335px;
      padding: 10px;
      background: #009688;
      color: #fff;
      text-align: center;
      border-radius: 8px;
      cursor: pointer;
      margin: 0 auto;
      transition: transform .4s;
  }
  .menu-add {
      margin: 0 auto;
      text-align: left;
      display: flex;
      flex-wrap: wrap;
      overflow: hidden;
      width: 100%;
      transition: all .3s;
  }
  .menu-add a {
      width: calc(84% / 2);
      min-width: 130px;
      font-size: 12px;
      margin: 1px;
  }
  .btn-task {
      width: 80%;
  }
  .form-wrap {
      margin: 10px auto;
  }
  .logo {
  }

  .container-table th h1 {
      font-size: 11px;
  }
    .container-table td, .container-table th {
      padding: 6px;
      font-size: 12px;
  }

  .raiting td {
    border-bottom: 1px solid #CCC;
    padding: 0px;
    font-size: 12px;
}

  .wall_new_title {
      font-size: 13px;
  }
  .apsdlqpw {
      top: -32px;
      right: 16px;
      font-size: 13px;
  }
  .apsdlqpw-1 {
      top: -42px;
      right: 16px;
      font-size: 13px;
  }

    .mqwkdqw {font-size: 20px}
    .check-task {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    
   
  .trtask {
      font-size: 11px;
  }
    a.fbtn-blue160 {
      margin: 0px auto;
  }


.table td{
	
		padding: 5px;
	}	
	
	
	
	
.statistic .stat {
    width: 36%;
    padding: 21px 10px;
    font-size: 14px;
    padding-top: 17px;
    margin: 15px 4px;
    height: auto;
}
.statistic .stat .subs {
    color: #a7a7a7;
    font-weight: normal;
    font-size: 11px;
}
  img.stats_img {
      width: 76px;
      top: -41px;
  }
  section.main {
    height: 780px;
      padding-bottom: 0;
  }
  .statistic .stat i {
      font-size: 13px;
  }

	
	
.loader {
    width: 71px;
    height: 6px;
    border-radius: 8px;
    background-color: rgb(244 67 54 / 49%);
    margin: 10px auto;
}

.loader div {
  height: 100%;
  width: 100%;
  border-radius: 8px;
  background-color: #ff3d00;
  animation: width7435 5s linear infinite;
  transition: all;
}

@keyframes width7435 {
  from {
    /*width: 0;*/
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}	


 .notifs {
      position: absolute;
      right: 57px;
      font-size: 28px;
      top: 20px;
      color: #F44336;
      /* background: #d18906; */
      padding: 2px 6px;
      border-radius: 4px;
      display: block;
  }

span.coint {
    position: absolute;
    font-size: 12px;
    background: #7d0909;
    color: #fff;
    width: 14px;
    height: 14px;
    padding: 3px;
    text-align: center;
    line-height: 1.2;
    border-radius: 50%;
    top: -9px;
    margin-left: -20px;
}




.ava-dos {
  width: 150px;
  height: 150px;
  padding: 2px;
  margin-bottom: 5px;
  border-radius: 50%; /* Делаем круглую форму */
  border: 2px solid #fff; /* Белая обводка */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Тень для эффекта поднятости */
}

.ava-dos:hover {
  transform: scale(1.1); /* Увеличиваем при наведении */
}

.banner, .banner div, .banner img {
		width: 100% !important;
	}	
	
	
	
.history-grafik{
  display: inline-block;
	width: 20px;
	height: 20px;
	background: url('img/ico/grafik.png') center center no-repeat;
	border-radius: 10px;
	cursor: pointer;
	opacity:0.7;
}
.history-grafik:hover{
  opacity:1;
}	
	
	
	
.congr {
    position: absolute;
    top: 109px;
    min-width: 75px;
    margin-left: -11px;
    border-radius: 2px;
    padding: 10px;
    cursor: pointer;
    transition: background .3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.5;
    
}
.congr:hover {
  
}
.congr img {
  width: 45px;
}


.mob-money-rich {
    margin-top: 0;
    background: #364959;
    /*color: red;*/
    padding: 2px 5px;
    border-radius: 7px;
    box-shadow: inset 0px 0px 4px 1px rgb(16 27 65 / 18%);
    font-weight: bold;
}

.mob-money-rich a {
    /* color: red; */
}

.mobile-menu .mm__wrapper {
    background: none;
}

span.close-btn.close-btn--red.mm__close {
    background: #4e545ede;
    /*border-radius: 20px;*/
}

span.close-btn:before, span.close-btn:after{
    /* color: aquamarine !important; */
    background: #e05151;
}

/* -------------------------------------------------
   Mobile bottom nav + avatar menu (RollerCoin-like)
   IMPORTANT: only apply on mobile widths
   ------------------------------------------------- */

@media (max-width: 600px){

  /* Hide the old top hamburger on mobile (menu is now in bottom nav) */
  #mobile-menu-btn{
    display:none !important;
  }

  /* Make mobile-only UI visible (menu-top.tpl hides them by default) */
  .mobile-bottom-nav{ display:flex !important; }
  .mobile-profile-btn{ display:inline-flex !important; }

 .mobile-profile-btn{
    position: absolute;
    top: 14px;
    right: 14px;
    align-items:center;
    justify-content:center;
    width: 50px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.25);
    padding: 0;
    margin-left: 10px;
    cursor: pointer;

    /* Чёткий контур */
    box-shadow: 1px 1px 10px 10px #000000;
 }


  /* Keep language icon from overlapping avatar */
  #open_lang{
    position: absolute;
    top: 14px;
    right: 70px;
  }
  .mobile-profile-btn img{
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
  }

  .mobile-profile-menu{
    position: absolute;
    right: 10px;
    top: 62px;
    width: 220px;
    background: #2a2f3b;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    padding: 8px;
    z-index: 9999;
  }
  .mobile-profile-menu a{
    display:flex;
    align-items:center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
  }
  .mobile-profile-menu a:hover{
    background: rgba(255,255,255,0.08);
  }
  .mobile-profile-menu i{
    width: 18px;
    text-align:center;
  }

  .mobile-bottom-nav{
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: min(520px, 100%);
    height: 70px;
    background: #1f2530;
    border-top: 1px solid rgba(255,255,255,0.08);
    justify-content: space-around;
    align-items: center;
    z-index: 9998;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .mobile-bottom-nav .mbn__item{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
    color: rgba(255,255,255,0.75);
    font-size: 11px;
    line-height: 1;
  }
  .mobile-bottom-nav .mbn__item i{
    font-size: 20px;
  }
  .mobile-bottom-nav .mbn__item:active{
    opacity: 0.85;
  }

  /* Active state (simple, can be enhanced later) */
  .mobile-bottom-nav .mbn__item.is-active,
  .mobile-bottom-nav .mbn__item:hover{
    color: #00b6d5;
  }

  /* Add spacing so content doesn't hide behind bottom nav */
  #contentwrapper{
    padding-bottom: 140px !important;
  }

  /* -------------------------------------------------
     Mobile menu layout polish (align blocks nicely)
     ------------------------------------------------- */

  /* Keep the slide-out menu readable on narrow screens */
  #mm__wrapper{
    width: min(340px, 90vw) !important;
  }

  /* Center the inner column and remove weird offsets */
  #leftcolumn-mob{
    width: 100% !important;
    max-width: 320px;
    margin: 0 auto;
  }

  /* Avatar block: center + move a bit right (was shifted left by inline margins) */
  .avatar-block{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 6px;
  }
  .avatar-block > div:first-child{
    margin-left: 0 !important;
    display: flex;
    justify-content: center;
    width: 100%;
    padding-left: 10px; /* slight right shift */
    box-sizing: border-box;
  }
  .avatar-block img.ava-dosa{
    margin-left: 0 !important;
    display: block;
  }

  /* Icon buttons near avatar */
  .avatar-block .buttons{
    display: flex;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding-left: 10px; /* match avatar shift */
    box-sizing: border-box;
    flex-wrap: wrap;
    flex-direction: row-reverse;
  }
  .avatar-block .buttons a{
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.10);
  }

  /* Balance blocks */
  .balance-1, .balance-2{
    width: 100%;
  }
  .balance-1 a, .balance-2 a{
    width: 100%;
    box-sizing: border-box;
    border-radius: 12px;
    padding: 10px 12px;
    margin: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }
  .balance-1 .b-type, .balance-2 .b-type{
    opacity: 0.85;
  }

  /* Menu blocks (buttons + accordions) */
  .usermenu{
    width: 100%;
  }
  .usermnutitle-g{
    width: 100% !important;
    box-sizing: border-box;
    border-radius: 12px;
    margin: 8px 0;
    padding: 12px 14px;
    text-align: left;
  }
  .usermnublock{
    box-sizing: border-box;
    border-radius: 12px;
    overflow: hidden;
    margin-top: -2px;
  }
  .user_menuline{
    padding: 11px 14px;
  }
}

/* По умолчанию скрыта */
.theme-toggle--mobile { display: none; }

/* На мобилке показываем, desktop можно скрыть */
@media (max-width: 600px){
  #theme-toggle { display: none !important; }              /* desktop-кнопку прячем на мобилке */
  .theme-toggle--mobile{
    display: inline-flex !important;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-left: -60px;
    position: relative;
    top:34px;
  }
}