body > canvas{
    display: none;
}
body{ 
    font-family: 'Fredoka One', cursive;
    display:flex; 
    flex-direction: column;
    margin: 0; 
}
#all_wrap {
    text-align: center;
    width: 100%;
    margin: 2% auto; 
    max-width: 460px;  
    position: relative;
    /* padding:10px; */
}
.float-right{
    float:right;
}
.pc{
    cursor: pointer;
}
table{
    width: 100%;  
    clear: both;
    border-spacing: 4px;
    clear: both;
}



.smallimg {
    width: 14px;
    position: relative;
    top: 2px;
    margin-left: 5px;
}
.battle_user img{ 
    width: 18px; 
    opacity: 0.3;
}
.battle_user {  
    opacity: 0.2;
}
.letter {
    font-weight: normal;
    text-shadow: none;
}
.ball {
    width: 40px;
    height: 40px;
    border-radius:20px;
    background: #174fc6;
    float: left;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px; 
    border:2px solid white;
    box-sizing: border-box; 
    text-shadow: 0px 0px 4px black; 
}

td .letter{
    border-radius: 10px;
}
 
 
.printing #table_wrap td{
    background: #d3d6da;
}
.ball_wrap .ball{
    width: 14.285714%;
}
.connection{
    opacity: 0;
    /* transition: all 1s ease-in-out; */
}
.connection.done{
    opacity: 0.3;
} 
.ball.awaiting-placement .letter{ 
    background: #296dff;
}
.letter { 
    /* transition: all 0.6s ease-in-out; */
    background: #8e8e8e;
    color: white;
    height: 100%;
    width: 100%;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    margin: 0 auto;
    justify-content: center; 
    text-shadow: 0 0 2px black;
}
.ball_wrap .letter{
    width: 100%;height:100%;
}
.jah .letter {
    background: rgb(7 182 45); 
}
.letter.empty{
    background: transparent;
}
.ball_wrap{  
    padding: 0 15px;
    text-align: center;
} 
#table_wrap td {
    width: 71px;
    height: 71px;
    background: white;
    box-shadow: 0 0 0px 3px #d3d6da inset;
    border-radius: 11px;
} 

.disabled{
    pointer-events: none;
    opacity: 0.7;
}
.awaiting-placement{
    pointer-events: none;
}
.letter_wrap:hover{
    background: #565656;
    cursor: pointer;
}
#letter_grid{
    /* pointer-events: none; */
    transition: all 0.2s ease;
} 
#letter_grid.active{
    pointer-events: all; 
}
#letter_grid.active td{ 
    opacity: 1;
}
.letter{
    position: relative; 
}
.adder.show{
    display: flex; 
}
.total{
    transition: all 0.6s ease;
}
.bigger{
    font-size: 26px;
} 
.web, .web a {
    text-decoration: none;
    font-size: 16px;
    display: inline-block;
    letter-spacing: 1px;
    text-decoration: none;
    color: #bbbbbb;
    margin-top: 10px;
}
[data-theme="dark"] .modal {
    background: #4d4d4d !important;
    color: #e2e2e2;
    text-shadow: 0px 0px 2px black;
}
 

.modal {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 300px;
    background: white;
    border-radius: 36px;
    padding: 20px;
    text-align: center;
    margin-left: -169px;
    border: 4px solid black;
    margin-top: -120px;
    cursor: pointer;
    z-index: 99;
}
.close_modal {
    position: absolute;
    right: -5px;
    top: -15px;
    background: gainsboro;
    border-radius: 32px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid black;
}

.audioblock{
    margin-top: 20px;
}

.adder {
    display: none;
    text-align: right;
    transition: all 0.2s linear;
    z-index: 99;
    position: absolute;
    top: 50%;
    left: 50%;
    background: #296dff;
    border-radius: 60px;
    font-size: 16px;
    color: white; 
    width: 60px;
    height: 60px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 2px black;
}



.unranked .users_only{
    display: none;
}

.hithere {
    animation: hithere 4s ease infinite;
}
@keyframes hithere {
    30% { transform: scale(1.05); }
    40%, 60% { transform: rotate(-5deg) scale(1.05); }
    50% { transform: rotate(5deg) scale(1.05); }
    70% { transform: rotate(0deg) scale(1.05); }
    100% { transform: scale(1); }
}

.bounce2 {
    animation: bounce2 4s ease infinite;
  }
  @keyframes bounce2 {
      0%, 20%, 50%, 75%, 85%, 100% {transform: translateY(0);}
      80% {transform: translateY(-5px);}
      90% {transform: translateY(-2px);}
  }
 
.c-wrap{
    margin-bottom: -10px;
}

.c-wrap2:before {
    content: "i";
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -22px;
    margin-left: -7px;
    opacity: 0;
    letter-spacing: 1px;
    background: #296dff;
    color: white;
    padding: 5px 10px;
    border-radius: 100px;
    z-index: 99;
    pointer-events: none;
    font-size: 16px;
    width: 10px;
}
td.no_name {
    color: #b2b2b2;
}

tr.you td {
    background: #07b62d !important;
    color: white !important;
}


tr.you_unranked td {
    background: #07b62d !important;
    color: white !important;
} 

td.yes_name {
    cursor: pointer;
    border-radius: 10px;
    /* border: 1px solid #bcbcbc; */
}
#loot table {
    border-spacing: 2px;
    border-collapse: collapse;
}
div#loot td {
    font-size: 14px;
}
#leaderboard td:nth-child(1) {
    border-radius: 10px;
    /* border: 1px solid #c3c3c3; */
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right:0;
}
#leaderboard td:nth-child(2) { 
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left:0;
}
#loot td:nth-child(1) { 
    border-top-right-radius: 0;
    border-bottom-right-radius: 0; 
}
#loot td:nth-child(2) { 
    border-top-left-radius: 0;
    border-bottom-left-radius: 0; 
}
tr.you td small{ 
    color: white !important;
} 
tr.you_unranked td small{ 
    color: white !important;
} 
.c-wrap{
    position: relative;
}
.c-wrap2:after {
    content: attr(data-trophy_increase);
    position: absolute;
    top: 25px;
    letter-spacing: 1px;
    background: red;
    color: white;
    padding: 2px 7px;
    border-radius: 8px;
    opacity: 1;
    z-index: 99;
    pointer-events: none;
    margin-left: 66px;
    box-shadow: 0 0 2px 0px black;
    font-size: 14px;
    display: none;
    transition: all 1s ease; 
}
  
.c-gold{
    color: #efa524 !important;
}

.flag-img{
    border-radius: 4px;
}

.letter_wrap .letter[data-val]:before{
    content: " ";
    width: 16px;
    height: 16px;
    background: url("./img/r.png");
    background-size: contain;
    position: absolute;
    bottom: 4px;
    right: 4px;
    opacity: 0.4
}

.jah.multi_2 .letter:before,.jah.multi_3 .letter:before,.jah.multi_4 .letter:before{
    background: none;
}

.letter_wrap.jah .letter:before{
    content: none;
}

.top1 .third.m-full:nth-child(4), .gold .third.m-full:nth-child(3), .silver .third.m-full:nth-child(2), .bronze .third.m-full:nth-child(1) {
    border: 0; 
    box-shadow: 0 -3px 0px 0px #efa524 inset;
    border-radius: 13px;
}

 .trophy_won .c-wrap2:after{
    display: inline; 
}
.trophy_won .c-wrap2:before {
    opacity: 1;
}
.letter:after {
    content: attr(data-val);
    font-size: 12px;
    opacity: 1;
    position: absolute;
    bottom: 6px;
}
.stat-icon{
    position: relative;
}

#stat-global_rank .DDDDDstat-icon:after {
    content: attr(data-lang);
    font-size: 12px;
    opacity: 1;
    position: absolute;
    bottom: -8px;
    left: -13px;
    background: white;
    border: 1px solid;
    padding: 0px 4px;
    border-radius: 4px;
}

.lang-badge{
    position: relative;
}

.lang-badge:after {
    content: attr(data-lang);
    font-size: 12px;
    opacity: 1;
    position: absolute;
    bottom: -7px;
    left: -8px;
    background: white;
    border: 1px solid;
    padding: 0px 4px;
    border-radius: 4px;
    z-index: 9;
}
#leaderboard .lang-badge:after { 
    left: 5px; 
}

.rank_icon:after {
    content: attr(data-val);
    font-size: 12px;
    opacity: 1;
    position: absolute;
    bottom: 6px;
}
 
.total:before {
    content: attr(data-comment);
    font-size: 25px;
    opacity: 1;
    position: absolute;
    right: 87px;
    display: block;
    white-space: nowrap;
    background: #efa524;
    padding: 5px 10px;
    border-radius: 88px;
    top: 18px;
    letter-spacing: 1px;
    transition: all 1s ease;
    border: 1px solid #3a3a3a;
    /* box-shadow: 0 2px 7px -2px black; */
    opacity: 0;
    text-shadow: 0 0 2px black;
    transform: translateY(57px);
}
.socials a{
    display: inline-block;
    width: 36px;
    height: 36px;
    margin: 0 2px;
    margin-top: 20px;
}

.printing .ball_wrap,
.printing .gem_count{
    display: none;
}

.printing .scrollText{
    display: none;
}

span.stat.stat-sharer.shared:before {
    display: none;
}
/* span.stat.stat-sharer:before {
    content: "";
    background: red;
    width: 10px;
    height: 10px;
    position: absolute;
    border-radius: 10px;
    right: -3px;
    top: -13px;
    text-shadow: 0 0 2px black;
    z-index: 1;
} */

@media (pointer: coarse), (hover: none) {
    [title] {
      position: relative;
      display: inline-flex;
      justify-content: center;
    }
    [title]:focus::after {
      content: attr(title);
      position: absolute;
      top: 90%;
      color: #000;
      background-color: #fff;
      border: 1px solid;
      width: fit-content;
      padding: 3px;
      font-size: 10px;
    }
  
}


.d-ib{
    display: inline-block;
}

.gem-share {
    position: absolute;
    top: -10px;
    right: 0;
    background: white;
    border: 1px solid black;
    border-radius: 10px;
    padding: 2px 4px;
    font-size: 11px;
    color: black;
    text-shadow: 0 0;
    display: none;
}

a.fb{
    background: url("https://cdn-icons-png.flaticon.com/512/5968/5968764.png");
    background-size: contain;
}
a.tw{
    background: url("https://cdn-icons-png.flaticon.com/512/3670/3670151.png");
    background-size: contain;
}
a.in{
    background: url("https://cdn-icons-png.flaticon.com/512/4494/4494488.png");
    background-size: contain;
}
a.li{
    background: url("https://cdn-icons-png.flaticon.com/512/3536/3536505.png");
    background-size: contain;
}
a.tt{
    background: url("https://cdn-icons-png.flaticon.com/512/3046/3046121.png");
    background-size: contain;
}

.total.bigger:before { 
    opacity: 1;
    transform: translateY(0px);
    /* box-shadow: 0 2px 7px -2px black; */
}

.ball_wrap .letter:after { 
    font-size: 10px; 
    bottom: 4px;
}
h1{
    margin-bottom: 15px;
    margin-top: 0px;
}
.header{
    position: relative;
}
#score > div{
    padding: 4px 8px;
}
#seo{
    margin-top:100vh;
}
#seo.touched{
    margin-top: 0vh;
    max-height: 1px;
    overflow:hidden;
}
#chest{ 
    position: absolute;
    width: 200px;
    left: 50%;
    margin-left: -100px;
    top: 50%;
    margin-top: -100px;
    opacity:0;
    pointer-events: none;
    transition: all 1s ease;
    transform: translateY(100px);
}
#chest.opening{  
    opacity:1;
    transition: all 1s ease;
    transform: translateY(0px);
}
.copy {
    opacity: 0.5;
    margin-top: 20px;
    font-size: 10px;
    font-family: arial;
    position: absolute;
    left: 50%;
    margin-left: -130px;
    color: gray;
    display: none;
}
#score{ 
    display: none;
    top:0; right: 0; 
    background: #d9d9d991;
    border-radius: 4px;
    margin-bottom: 4px; 
    cursor: pointer; 
    font-size: 20px; 
}
.adder{
    cursor: pointer;
}
#score.final { 
    z-index: 99;
    position: relative;
    width: 100%; 
}
.hidden{
    display:none;
}
#score.final .hidden{
    display: initial;
}
#score.final .remove{
    display: none;
}
.op5{
    opacity:1;
}
#menu ul {
    line-height: 1.2;
    margin: 0;
    text-align: left;
    list-style: none; 
    padding: 0;
    margin-bottom: 5px; 
    padding: 10px;
    font-size: 14px;
    text-align: center;
    color: black;
    max-width: 440px;
}
.faint{
    opacity:0.65;
}
.d-none{
    display: none !important;
}
 
.pointer{
    cursor: pointer;
}
.slide-content:not(.show){
    display: none;
} 
small.hidden {
    font-size: 16px;
}

.battle .recover {
    display: none;
}


#help {
    position: absolute;
    top: 5px;
    right: 0px;  
    margin-bottom: 4px;
    width: 21px;
    height: 21px;
    cursor: pointer;
    display: flex; 
    align-items: center;
    justify-content: center;
    color: #000;
    z-index: 250;  

}

#leaderboard,
#leaderboard table{
    width: 100% !important;
}

.dataTables_scrollHeadInner{
    width: 100% !important;
}

.dataTables_filter,.dataTables_info{
    display: none;
}
tr.odd td {
    background: #f1f1f1;
}
.find-me {
    float: right;
    background: #07b62d ;
    color: white;
    padding: 4px 14px; 
    border-radius: 20px; 
    cursor: pointer;
    user-select: none;
    
}

span.stat.stat-todays_avg  { 
    position:  relative;
}

span.stat.stat-todays_avg:after {
    content: " ";
    width: 8px;
    height: 8px;
    background: red;
    display: block;
    position: absolute;
    right: -15px;
    top: 0;
    border-radius: 10px;
    box-shadow: 0px 0 3px black;
    border: 1px solid white;
}
 
.td *{ 
    user-select: none; /* standard */
    -moz-user-select: none; /* firefox specific */
    -webkit-user-select: none; /* Chrome, Opera and Safari*/
    -ms-user-select: none; /* IE, ms-edge */
}

.disable-select {
    user-select: none; /* standard */
    -moz-user-select: none; /* firefox specific */
    -webkit-user-select: none; /* Chrome, Opera and Safari*/
    -ms-user-select: none; /* IE, ms-edge */
}
div#leaderboard th, div#leaderboard td {
    text-align: center;
    font-size: 14px;
    font-weight: normal;
} 
div#leaderboard th:nth-child(1) { 
    max-width: 21px;
} 
a.gem_count {
    background: #efa524;
    border-radius: 8px;
    padding: 3px 8px;
    color: white;
    text-shadow: 0px 0px 3px black; 
    border-radius: 40px; 
    margin-bottom: 10px;
}
.btn-pp{ 
    border-radius: 40px !important; 
} 
#leaderboard th:nth-child(2) {
    text-align: right;
    /* font-size: 90%; */
    min-width: 145px;
}
#leaderboard small {
    font-size: 80%;
    font-weight: normal;
    color: #8e8e8e;
}
.printing #help{
    display: none;
}
.printing .total.bigger:before{
    display: none;
}


.printing .total.bigger:before{
    display: none;
}
.printing.battle-share .total.bigger:before{
    display: block !important;
}

.printing:not(.printing-with-stats)  canvas{
    display: none !important;
}

.printing #rankings{
    display: none !important;
}
.printing.printing-with-stats #rankings{
    display: revert !important;
}
 
.printing .share_button{
    display: none;
}
  

.printing:not(.printing-with-letters) .share-with-letters{
    display: none;
} 
.printing #rankings{
    border:0 !important;
}
.printing #tabs{
    display: none;
}
.printing #loot{
    display:none;
}
.printing #rankings{
    display: block;
}

.rhelp { 
    background: white;
    border-radius: 54px;
    margin-bottom: 4px;
    width: 21px;
    height: 21px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8e8e8e;
    border: 1px solid #8e8e8e;
}
#table_wrap{
    position: relative;
}
#num.counting {
    position: absolute;
    width: 260px;
    margin-left: -130px;
    top: 117px;
    left: 50%;
    font-size: 230px;
    opacity: 0.6;
    color: black;
    text-shadow: 0 0 5px white;
} 
div.mini-ball {
    background: #174fc6;
    width: 20px;
    display: inline-block;
    text-align: center;
    border-radius: 10px;
    height: 20px;
    color: white;
    font-size: 12px;
    line-height: 20px;
}
.toast {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 20px 40px;
    background: #e0e0e0cc;
}
.printing:not(.printing-with-letters) .letter{
    transition: none;
    color: #8e8e8e;
    
    text-shadow: none ;
}

.printing:not(.printing-with-letters) .jah .letter{
    transition: none;
    color: rgb(7 182 45);
} 

.finished .adder.show {
    left: 50% !important;
    top: 50% !important;
    width: 80px !important;
    height: 80px !important;
    background: #efa524;
    margin-left: 88px;
    /* box-shadow: 0 2px 7px -2px black; */
    border: 1px solid #3a3a3a;
    margin-top: 90px;
}
.finished .adder.show .total{ 
    font-size: 44px !important; 
}
.recover {
    font-size: 18px;
    /* border: 1px solid; */
    float:left;
    border-radius: 4px;
    padding: 4px 8px;
    font-weight: normal;
    background: #dadada;
}
.finished table{
    pointer-events: none;
}
.btn {
    background: #ebebeb;
    padding: 4px 8px;
    border-radius: 4px;
    margin: 2px 0;
    display: inline-block;
    color: black;
    cursor: pointer;
}
.faded td {
    background: #efefef !important;
}
.ppt {
    padding: 10px 0;
} 
.close-pp {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #dddddd;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    cursor: pointer;
}
div#smart-button-container {
    display: none;
    position: absolute;
    top: 80px;
    left: 50%;
    margin-left: -200px;
    background: white;
    z-index: 999;
    padding: 40px 20px;
    box-shadow: 0 0 10px 2px;
    width: 360px;
    max-width: 95%;
}

div#smart-button-container.showpp {
    display: revert;
}
h1 span.fadeOut{
    opacity: 0;
}
h1 > span:nth-child(1) {
    opacity: 1;
    transition: all 0.4s ease;
    /* font-family: Courgette; */
    font-weight: normal;
    position: absolute;
    top: 8px;
    right: 50%; 
    color: #d3d6da; 
    text-shadow: 0 0 3px white;
    font-size: 16px;
    margin-right: 73px;
}
h1 > span:nth-child(3) {
    opacity: 1;
    transition: all 0.4s ease;
    /* font-family: Courgette; */
    font-weight: normal;
    position: absolute;
    top: 8px;
    left: 50%; 
    color: #d3d6da; 
    text-shadow: 0 0 3px white;
    font-size: 16px;
    margin-left: 70px;
}
h1 > span:nth-child(2){ 
    background: #07b62d;
    color: white;
    text-shadow: none;
    font-weight: normal;
    padding: 5px 13px;
    border-radius: 50px;
    text-shadow: 0 0 2px black;
    position: relative;     
}

.battle h1 > span:nth-child(2):before {
    content: "👑";
    position: absolute;
    top: -100px;
    left: -7px;
    transform: rotate(-25deg);
    font-size: 25px;
    transition: all 2s ease-in-out;
    z-index: 999;
}

.battle h1 > span:nth-child(2).flyup:before { 
    top: -14px; 
}

.button {
    background: #174fc6;
    padding: 10px 20px;
    color: white;
    text-align: center;
    border-radius: 10px;
}
.mini-ball.gold{
    background: #efa524;
}
div#head_and_table {
    padding: 10px;
    position: relative;
    background: #fafafa;
}
body[data-theme="dark"] div#head_and_table { 
    background: #242424;
}



div#table_wrap .letter:after {
    /* display: none; */
    opacity: 0.7; 
}
div#table_wrap .jah .letter:after {
    display: revert;
    opacity: 1; 
} 
.letter:after { 
    font-family: arial;
}
body {
    font-smooth: subpixel-antialiased;
    -webkit-font-smoothing: subpixel-antialiased;
}
.faint{
    opacity: 0.4;
}
div#statbox {
    display: flex;
    flex-direction: row;
    color: #8e8e8e; 
}
div#statbox > div {
    flex: 1;
    /* border: 2px solid #d3d6da; */
}
div#statbox > div:nth-child(2) {
    border-right:0;
    border-left: 0;
} 

.pride_bg{
    background: linear-gradient(
        128deg,
        rgba(255, 0, 0, 1) 0%,
        rgba(255, 154, 0, 1) 10%,
        rgba(208, 222, 33, 1) 20%,
        rgba(79, 220, 74, 1) 30%,
        rgba(63, 218, 216, 1) 40%,
        rgba(47, 201, 226, 1) 50%,
        rgba(28, 127, 238, 1) 60%,
        rgba(95, 21, 242, 1) 70%,
        rgba(186, 12, 248, 1) 80%,
        rgba(251, 7, 217, 1) 90%,
        rgba(255, 0, 0, 1) 100%
    );
}
span.total.bigger:after {
    content: "share";
    position: absolute;
    font-size: 27%;
    bottom: 10%;
    left: 50%;
    text-transform: uppercase;
    margin-left: -23px;
    color: white;
    text-shadow: 0 0 4px black;
    font-family: arial;  
    font-weight: bold;
    opacity: 0;
}
.third {
    width: 33.333333333%;
}
.printing span.total.bigger:after{
    display: none;
} 
.printing .adder.show:after{
    display:none;
}
#loot,#leaderboard{
    display: none;
}
#tabs{
    display:flex;
}
#rankings{
    display: none;
    flex-direction: column; 
}   

body{
    background-color: #fafafa;
}

body.dark-mode{
    background: #323232
}
div#loot{
    margin-bottom: 10px;
}

.friend-badge{
    float: left;
    cursor: pointer;
    line-height: 2;
    background: #e2e2e2;
    border-radius: 40px;
    padding-right: 12px;
    opacity: 0.65;
}
.online-badge{
    float: left;
    cursor: pointer;
    margin-left: 10px;
    line-height: 2;
    background: #e2e2e2;
    border-radius: 40px;
    padding-right: 12px;
    opacity: 0.65;
}

.friends-only [data-my_friend="false"]{
    display: none !important;
}
.friends-only [data-my_friend=""]{
    display: none !important;
}
 
.online-only #leaderboard tbody tr:not(.online):not(.force_online){
    display: none !important;
} 

strong.force-end {
    padding: 4px;
    background: #dadada;
    border-radius: 5px;
    display: block;
    float: left;
    margin-left: 4px;
}

.friend-badge { 
    border: 2px solid transparent;
    box-shadow: 0px 0px 0px 0px black;
    transition: all 0.6s ease;
}
.friends-only .friend-badge {
    opacity: 1;
    border: 2px solid ;
    box-shadow: 0px 0px 6px 0px black;
}
.online-badge {
    border: 2px solid transparent ;
    box-shadow: 0px 0px 0px 0px black;
    transition: all 0.6s ease;
}

.online-only .online-badge { 
    opacity: 1;
    border: 2px solid black ;
    box-shadow: 0px 0px 6px 0px black;
}


div#loot,div#leaderboard { 
    min-height: 153px;
}
.tab {
    padding: 10px 0;
    font-size: 18px;
    border-radius: 40px;
    margin: 2px; 
    font-size: 16px;
    background: #e2e2e2;
    cursor: pointer; 
    display: flex;
    align-items: center;
    justify-content: center;
}


.tab-language img {
    max-width: 23px;
    position: relative;
    margin-right: 7px;
    top: 2px;
}

.language-dropdown{
    display: none;
}


.r{
    display: flex;
}

.language-dropdown img {
    max-width: 7.999999%;
    border-radius: 10px;
    /* opacity: 0.5; */
    margin-top: 10px;
    padding: 5px;
    box-sizing: border-box;
}
.language-dropdown-2 {
    width: 460px;
    max-width: 100%;
}

.language-dropdown-2 img {
    max-width: 7.999999%;
    border-radius: 10px;
    /* opacity: 0.5; */
    margin-top: 10px;
    padding: 5px;
    box-sizing: border-box;
}
div#chart  {
    position: relative;
} 

.printing div#head_and_table {
    padding: 10px;
}
.tab{ 
    border: 2px solid transparent;
}
.tab.active{ 
    background: #f1f1f1;
    color: black;
    border: 2px solid;
}
 

.mt-0{
    margin-top:0 !important;
} 

div#tabs > div {
    flex: 1;
}

.tiny {
    font-size: 11px;
    margin-top: 1px;
    color:  #8e8e8e;
} 
.box {
    margin-top: 15px;
    width: 100%;
    display: flex;
    margin-bottom: 5px;
}
.rank-header{
    display: none;
    font-size: 13px;
    margin-bottom: 4px;
} 
.chart-wrap,.rank-wrap{   
    text-align: center;
    /* box-shadow: 0 0 0px 2px #d3d6da inset;  */ 
    cursor: pointer;
}
div#statbox {
    font-size: 12px;
    padding: 10px 0;
}
.stat-title {
    color: #000;
    font-size: 12px;
}
.stat-stat {
    font-size: 115%;
    color: black;
    padding: 5px;
}

.rhelp-content{ 
    font-size:12px;
    font-family: arial;
    padding: 5px;
}
.chart-wrap{
    width: auto;
}

.rank-wrap {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}
div#getrank {
    padding: 15px 5px; 
    text-shadow: none;
    font-weight: normal;
    font-size: 23px;
}



.slide-content li {
    margin-bottom: 10px;
}
#menuToggle {
    display: block;
    position: relative;
    /* top: 50px;
    left: 50px; */
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
}

#menuToggle a {
text-decoration: none;
color: #232323;

transition: color 0.3s ease;
}

#menuToggle a:hover {
color: tomato;
}

#menuToggle input {
display: block;
width: 40px;
height: 32px;
position: absolute;
top: -7px;
left: -5px;

cursor: pointer;

opacity: 0; /* hide this */
z-index: 2; /* and place it over the hamburger */

-webkit-touch-callout: none;
}

/*
* Just a quick hamburger
*/
#menuToggle span {
display: block;
width: 33px;
height: 4px;
margin-bottom: 5px;
position: relative;
background: #000;
border-radius: 3px;
z-index: 1;
transform-origin: 4px 0px;
transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}
#menuToggle span:first-child {
transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
transform-origin: 0% 100%;
}

/* 
* Transform all the slices of hamburger
* into a crossmark.
*/
#menuToggle input:checked ~ span {
opacity: 1;
transform: rotate(45deg) translate(-2px, -1px);
background: #232323;
}

/*
* But let's hide the middle one.
*/
#menuToggle input:checked ~ span:nth-last-child(3) {
opacity: 0;
transform: rotate(0deg) scale(0.2, 0.2);
}

/*
* Ohyeah and the last one should go the other direction
*/
#menuToggle input:checked ~ span:nth-last-child(2) {
transform: rotate(-45deg) translate(0, -1px);
}

/*
* Make this absolute positioned
* at the top left of the screen
*/
/* #menu {
position: absolute;
width: 300px;
margin: -100px 0 0 -50px;
padding: 50px;
padding-top: 125px;

background: #ededed;
list-style-type: none;
-webkit-font-smoothing: antialiased; 

transform-origin: 0% 0%;
transform: translate(-100%, 0);

transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
} */
#menu {
    position: fixed;
    width: 100%;
    background: #ededed;
    list-style-type: none;
    top: 0;
    bottom: -10px;
    right: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
}

#menu li {
padding: 15px;
font-size: 18px;
text-align: left;
}

/*
* And let's slide it in from the left
*/
/* #menuToggle input:checked ~ ul {
transform: none;
} */
#loot td {
    border-radius: 10px;
    padding: 5px 20px;
    /* border: 1px solid #cfcfcf; */
}
 
.adder.show:after {
    content: attr(data-winstreak);
    font-size: 15px;
    opacity: 0;
    position: absolute;
    right: 87px;
    display: block;
    white-space: nowrap;
    background: #efa524;
    padding: 5px 10px;
    border-radius: 48px;
    top: 18px;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    border: 1px solid #3a3a3a; 
    text-shadow: 0 0 2px black;
    /* box-shadow: 0 2px 7px -2px black; */
    transform: translateY(70px);
    z-index: 99;
}
.winstreak-bonus .adder.show:after {
    transform: translateY(51px);
    opacity: 1;
}
.box > div {
    flex: 1;
}
 .mt-n10 {
    margin-top: -20px;
}  
.chart-wrap{
    position: relative;
}
.share_button {
    font-size: 18px;
    cursor: pointer; 
}
::-webkit-scrollbar {
    width: 12px;
}
 
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    border-radius: 10px;
}
 
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
    box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}
table.table.table-striped td {
    background: white;
    padding: 4px 10px;
    text-align: left;
}
span.diff {
    position: absolute;
    width: 40px;
    text-align: center;
    right: 10px; 
    border-radius: 10px;
    z-index: 9;
}
span.diff.down { 
    background: #efa524; 
    color: white;
    text-shadow: 0 0 2px black;
}
span.diff.up {
    background: #07b62d;
    color: white;
    text-shadow: 0 0 2px black;
}

#menuToggle input:checked ~ #menu {
    opacity: 1;
    pointer-events: all;
} 
 
div#leaderboard td:nth-child(2){
    position: relative;
    text-align: left;
}
.sharer_img {
    width: 22px; 
}


@media(max-width: 461px){ 
        
    #menu li {
        padding: 15px;
        font-size: 16px;
    }
    .slide-content li {
        margin-bottom: 7px;
    }
    .rhelp-content{ 
        font-size:10px; 
    } 
    h1 span:nth-child(1) { 
        font-size: 10px; 
        margin-right: 53px;
        top: 11px;
    }
    h1 span:nth-child(3) { 
        font-size: 10px; 
        margin-left: 53px;
        top: 11px;
    }
    
    #num.counting{
        top: 75px !important;
    }
    .total,.plus{
        font-size: 16px;
    }
    .bigger{
        font-size: 20px;
    }
    .adder {
        width: 50px;
        height: 50px;
    }

    .finished .adder.show { 
        width: 65px !important;
        height: 65px !important; 
        margin-left: 74px;
        margin-top: 67px;
    }

    .finished .adder.show .total { 
        font-size: 33px !important; 
    }
    .slide-content li {
        font-size: 11px;
    }
    
    .letter:after { 
        font-size: 10px; 
    }
    .ball_wrap .letter:after { 
        font-size: 8px;  
    }
    .letter{
        font-weight: normal !important;
    }
    h1 span:nth-child(2) { 
        font-size: 20px;
    }
    span.total.bigger:after { 
        bottom: 10%;
        margin-left: -17px;
        font-size: 10px;
    }
        
    .total.bigger:before {  
        right: 71px;
        transform: translateY(-2px);
        font-size: 21px;
    }
    .total.bigger:before {  
        right: 71px;
        transform: translateY(-7px);
    }
    .winstreak-bonus .adder.show:after { 
        right: 71px;
        transform: translateY(35px);
        font-size:13px;
    }
     
    .printing h1 span:nth-child(3), .printing h1 span:nth-child(1){
        font-size: 18px;
    }
} 

body[data-theme="dark"]{
    background: #242424;
}


body[data-theme="dark"] .share_it svg {
    fill: #fff;
}


body[data-theme="dark"] #table_wrap td{
    background: transparent;
    box-shadow: 0 0 0px 4px #555555 inset;
}


body[data-theme="dark"] .letter{
    color: #d1d1d1;
}

body[data-theme="dark"] 
.button{
    background: #1f4aa4; 
}
 
body[data-theme="dark"] 
.mini-ball{
    background: #1f4aa4; 
}

body[data-theme="dark"] .ball { 
    background: #1f4aa4; 
    color: #d1d1d1; 
    border: 2px solid #242424; 
} 

body[data-theme="dark"] h1 > span:nth-child(2){
    color: #d1d1d1;
} 

body[data-theme="dark"] #menu{
    background: #555;
}
 
body[data-theme="dark"] #menuToggle a{
    color: #c4c4c4;
}
 

body[data-theme="dark"] #menu li{
    color: #c4c4c4;
}

body[data-theme="dark"] .button{
    color: #c4c4c4;
}


body[data-theme="dark"]  h1 > span:nth-child(3), 
body[data-theme="dark"]  h1 > span:nth-child(1){
    color: #8e8e8e;
    text-shadow: 0 0 0;
}

body[data-theme="dark"]   th,
body[data-theme="dark"]   td {
    color: #b3b3b3;
}

body[data-theme="dark"]  
table.table.table-striped  td{
    background: #323232;
}

body[data-theme="dark"] #loot   td,
body[data-theme="dark"] #loot  th{
    background: #323232;
}

body[data-theme="dark"]  p {
    color: #bebebe;
}

 
body[data-theme="dark"]  tr.odd td{
    background: #333131
}

body[data-theme="dark"] #menuToggle span{
    background: #8e8e8e;
}


body[data-theme="dark"] .stat-title,
body[data-theme="dark"]  .stat-stat{
    color: #bebebe;
}

 
.tip_message{
    font-size: 18px;
    padding: 8px;
    border-radius: 20px;
    margin-top: 10px;
    border: 2px solid;
}
.theme-dark {
    padding: 4px 8px;
    border-radius: 100px;
    margin-top: -6px;
    margin-right: -4px;
}

.btn {
    background: #efa524;
    padding: 4px 8px;
    border-radius: 4px;
    margin: 2px 0;
    display: inline-block;
    color: white;
    cursor: pointer;
    text-shadow: 0px 0 3px black;
    text-decoration: none;
    letter-spacing: 1px;
}


.finished .letter:after{
    display: none;
}
#leaderboard th {
    font-size: 14px !important;
}


.letter{
    transition: all 0.4s ease; 
    background:  rgba(142,142,142,1);
}
.jah.multi_1 .letter {
    transition: all 0.4s ease; 
    background: rgba(7,182,45,1);
}
.jah.multi_2 .letter {
    transition: all 0.4s ease; 
    background: rgba(239,165,36,1);  
}

.jah.multi_3 .letter {
    transition: all 0.4s ease;
    background: rgb(131,58,180); 
}
.jah.multi_4 .letter {
    transition: all 0.4s ease;
    background: #174fc6; 
}

.printing:not(.printing-with-letters) .jah.multi_2 .letter,
.printing:not(.printing-with-letters) .jah.multi_2 .letter:after { 
    font-size: 0 !important;
}

.printing:not(.printing-with-letters) .jah.multi_3 .letter ,
.printing:not(.printing-with-letters) .jah.multi_3 .letter:after { 
    font-size: 0 !important;
}
.printing:not(.printing-with-letters) .jah.multi_4 .letter ,
.printing:not(.printing-with-letters) .jah.multi_4 .letter:after { 
    font-size: 0 !important;
}

.jah.multi_2 .letter:before {
    content: "+2";
    font-size: 14px;
    top: 5px;
    position: absolute;
    right: 10px;
}

.jah.multi_3 .letter:before {
    content: "+3";
    font-size: 14px;
    top: 5px;
    position: absolute;
    right: 10px;
}
.jah.multi_4 .letter:before {
    content: "+8";
    font-size: 14px;
    top: 5px;
    position: absolute;
    right: 10px;
}

.printing:not(.printing-with-letters) .jah.multi_2 .letter:before,
.printing:not(.printing-with-letters)  .jah.multi_3 .letter:before,
.printing:not(.printing-with-letters)  .jah.multi_4 .letter:before{
    display: none;
}

.stat-stat.lang-badge:after{ 
    content: attr(data-lang);
    font-size: 12px;
    opacity: 1;
    position: absolute;
    bottom: -3px;
    left: 5px;
    background: white;
    border: 1px solid;
    padding: 0px 4px;
    border-radius: 4px; 
}

.lang-select{ 
        font-size: 12px;
        display: flex;
        align-items: center;
        justify-content: center; 
}


.special-3{
    /* margin-top: 10px; */
    background: transparent !important;
    margin-left: 20px;
    text-align: left;
    opacity: 0.76;
    padding-bottom: 0;
    color: #bbb;
}

.lang-pl *{
    font-family: arial;
}

strong.t-22 {
    float: right;
    font-size: 18px;
    border-radius: 4px;
    padding: 4px 8px;
    font-weight: normal;
    background: #dadada;
}


div#table_wrap table {
    opacity: 1;
    transition: opacity 2s ease;
}

div#table_wrap.finished table {
    opacity: 0.5;
}
.printing div#table_wrap.finished table {
    transition: none;
    opacity: 1;
}

.orange {
    color: #efa524;
    color: inherit;
    font-size: 16px;
    line-height: 1;
    position: relative;
    top: 0px;
    margin-left: 4px;
    text-shadow: 0 0 2px black;
}

.orange.share_it {
    cursor: pointer;
    border-radius: 40px;
    background: #07b62d;  
    background: #efa524;
    background: #1877f2;
    box-shadow: 0 3px;
    margin-bottom: 20px;
}
.printing .socials{
    display: none;
}
/* .third.share_it:hover,
.third.share_it:active{
    background:#d2d2d2;
} */


.orange.share_it .stat-stat{
    color: white;
    text-shadow: 0 0 2px black;
}
.orange.share_it svg{
    fill: white;
    position: relative;
    top: 2px;
    text-shadow: 0 0 2px black; 
}
 
.printing .orange{
    display: none;
}
.stat-stat{
    position: relative;
}


/*

Every 1 second, websocket receives array of online player IDs, all are marked as offline and then
loop applies 'online'.

*/

span.uname{
    position: relative;
}
span.uname:before {
    position: relative;
    content: " ";
    width: 12px;
    height: 12px;
    background: #a5a5a5;
    border-radius: 10px;
    display: inline-block;
    margin-right: 5px;
}


.online span.uname:before,
.force_online span.uname:before{ 
    background: #ff0000; 
    /* background: #07b62d;  */
} 
 
.online .battle_user,
.force_online .battle_user{
    opacity: 1;
}
 
/* .silver .stat-silver:after ,
.bronze .stat-bronze:after ,
.gold .stat-gold:after,
.top1 .stat-top1:after {
    content: " ";
    width: 10px;
    height: 10px;
    background: red;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    border-radius: 100%;
} */

#leaderboard td:nth-child(1){
    padding: 0 !important;
    width: 13% !important;
}
#leaderboard th:nth-child(1) {
    width: 13% !important;
    padding: 0 !important;
}
#leaderboard th:nth-child(1) {
    width: 13% !important;
    padding: 0 !important;
    font-size: 20px !important;
}

[data-theme="dark"] #menu strong{
    background: #818181 
}
[data-theme="dark"] .friend-badge{
    background: #3f3f3f
}
[data-theme="dark"] .online-badge{
    background: #3f3f3f
}

.third.m-full {
    position: relative;
}


.top1 .third.m-full:nth-child(4):after, .gold .third.m-full:nth-child(3):after, .silver .third.m-full:nth-child(2):after, .bronze .third.m-full:nth-child(1):after {
    content: " ";
    width: 10px;
    height: 10px;
    background: red;
    display: block;
    position: absolute;
    right: 10px;
    top: 15px;
    border-radius: 10px;
}



#video {
    border: 1px solid black;
    box-shadow: 2px 2px 3px black;
    width: 320px;
    height: 240px;
  }
  
  #photo {
    border: 1px solid black;
    box-shadow: 2px 2px 3px black;
    width: 320px;
    height: 240px;
  }

  
  #canvas {
    display: none;
  }
  
  .camera {
    width: 340px;
    display: inline-block;
  }
  
  .output {
    width: 340px;
    display: inline-block;
    vertical-align: top;
  }
  
  #startbutton {
    display: block;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    bottom: 32px;
    background-color: rgba(0, 150, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0px 0px 1px 2px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    font-family: "Lucida Grande", "Arial", sans-serif;
    color: rgba(255, 255, 255, 1);
  }
  
  .contentarea {
    font-size: 16px;
    font-family: "Lucida Grande", "Arial", sans-serif;
    width: 760px;
  }

  
  .printing span.t-1 {
    right: 50%;
    display: block;
    width: 105px;
    font-size: 22px;
}
.printing span.date {
    left: 52%;
    display: block;
    width: 122px;
    font-size: 22px;
}

.printing h1 span:nth-child(2) {
    font-size: 28px;
    display: inline-block;
}

table.dataTable tbody td {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.adder.show.battle-tip:after{
    width: 335px;
    right: -40px;
    white-space: normal;
    text-align: center;
    box-shadow: 0 2px black;
}

.battle .tab-language{
    display:none;
}

/* .battle .adder:after{
    display: none !important;
} */


.pending-content {
    border: 4px solid black;
    background: #fafafa;
    border-radius: 20px;
    padding: 20px 40px; 
}
  
/* .battle-text {
    font-size: 18px;
    color: #ffffff;
    font-weight: normal;
    background: #dc2f2f;
    background: #efa524;
    text-shadow: 0 0 2px black;
    padding: 5px;
    width: auto !important;
    border-radius: 0;
    transition: all 0.4s ease; 
    border-radius: 8px;  
} */
.battle-text {
    color: #8e8e8e;
    font-weight: normal;
    width: auto !important;
    /* transition: all 0.4s ease; */
    margin: 0;
    font-size: 18px; 
    margin-bottom: 4px;
}

div.battle-pending {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 750;
    flex-direction: column;
    background: #9e9e9ea1;
    font-size: 24px;
}

span.challenger {
    border: 1px solid;
    padding: 2px 7px;
    border-radius: 10px;
    font-size: 18px;
}

.pending-body{
    margin-top: 18px;
    font-size: 18px;
    font-size: 16px;
}

.printing .toast{
    display: none;
}

.pending-head{
    display: flex;
    flex-direction: column;
}

.vs{
    display: block;
    margin: 10px auto;
}

.dd{
    position: fixed;
    display: none;
}

.topleft{ 
    top: 0;
    left: 0;
}
 

.dd .close_modal {
    position: absolute;
    right: 5px;
    top: 10px;
    width: 30px;
    height: 30px;
    margin-right: 5px;
    cursor: pointer;
    color: black;
}

.dd {
    position: fixed;
    top: 0;
    left: 0;
    background: #efa524;
    padding: 16px 20px;
    border-bottom: 5px solid black;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    z-index: 500;
    border-top: 0; 
}

.battle .dd { 
    z-index: 999; 
}

.dd-button {
    border-radius: 10px;
    padding: 6px 28px;
    margin-top: -5px;
    margin-bottom: -5px;
    margin-left: 14px;
    background: #07b62d;
    color: white;
    cursor: pointer;
    border: 3px solid black; 
    float: right;
    margin-right: 40px;
}

span.js-timeout {
    background: #000000;
    border-radius: 30px;
    padding: 4px 8px;
    color: white;
    text-shadow: 0 0 BLACK; 
    display: inline-block;
    margin-left: 4px;
    margin-top: -5px;
    font-size: 23px;
}

@media(max-width: 460px){
    span.js-timeout { 
        font-size: 14px !important;
        margin-top: -10px;
    }
}



.battle .adder.show:after { 
    background: url(./img/loading-w.gif) orange;
    background-size: contain;
    background-repeat: no-repeat;
    width: auto; 
    padding-left: 30px;
    right: 0px;
}

.printing-battle .header,
.printing-battle .web{
    display: none !important;
}
.printing.printing-battle span.total.bigger:after{
    display: block;
} 

.printing.printing-battle .total.bigger:before{
    display: block;
} 

.printing.printing-battle .finished .adder.show{
    transition: none;
    top: -10% !important;
}

img.grid_image {
    width: 74%;
    clear: both;
    display: block;
    margin: 0 auto;
    /* transition: width 0.4s ease;  */
    transition: all 1.4s ease;
    opacity: 0;
    max-height: 1px;
}


.battle #table_wrap.finished{
    transition: all 0.6s ease;
    border: 0px solid white;
    padding: 0px;
    margin-bottom: 0px;
}
.battle #table_wrap.finished.outline{
    /* border: 2px solid gray;
    border-radius: 20px;
    padding: 9px; */
    padding-bottom: 10px; 
    border-bottom: 4px dotted #8e8e8e;
}

img.grid_image.toggle_full {
    width: 100%; 
}
img.grid_image.op1 {
    opacity: 1; 
    width: 104%;
    margin-left: -2%;
    max-height: 450px;
}

/* div#table_wrap:after {
    content: "🆚";
    position: absolute;
    font-size: 50px;
    bottom: -30px;
    left: 50%;
    margin-left: 0px;
    transition: all 1.2s ease; 
    transform: rotate(-6deg);
    opacity: 0;
}
div#table_wrap.op1:after { 
    opacity: 1;
} */

.t-all{
    transition: all 0.4s ease;
}

.op0{
    opacity: 0;
}

.op1{
    opacity: 1;
}

body.battle{
    overflow-x: hidden;
}
 

/* 
.tip_user {
    width: 0;
    transition: all 0.4s ease;
    display: inline-block;
    overflow: hidden;
    height: 0;
    cursor: pointer;
} 
.battle_user {
    width: 25px;
    height: 30px;
    margin-bottom: -17px;
    text-align: center;
    font-size: 18px;
    position: relative;
    top: -3px;
} */

.printing .third.share_it{
    display: none;
}
  

.battle_user {
    text-shadow: 0 0 2px black;
    border-radius: 5px;
    background: transparent;
    padding: 4px 4px;
}

 


tr[data-my_friend=""] span.friend-icon{
    filter: grayscale(1);
}
tr[data-my_friend="true"] span.friend-icon{
    filter: grayscale(0);
}
tr[data-my_friend="false"] span.friend-icon{
    filter: grayscale(1);
}
  
/* 
span.tip_user,
span.friend-icon,
span.battle_user {
    text-shadow: 0 0 2px black;
    border-radius: 5px; 
    padding: 3px 3px;
    box-shadow: 0 0 2px 0px black;
    font-size: 14px;
    margin-right: 2px;
    line-height: 1;
} */

span.tip_user, span.friend-icon, span.battle_user {
    text-shadow: 0 0 2px black;
    border-radius: 5px;
    background: #e2e2e2;
    padding: 4px 4px;
    box-shadow: 0 0 2px 0px black;
    font-size: 16px;
    line-height: 1;
}


[data-theme="dark"] span.tip_user,
[data-theme="dark"] span.friend-icon,
[data-theme="dark"] span.battle_user{
    background: #777;
}

[data-theme="dark"] .tab-language{
    color: white;
}


/* tr[data-my_friend="true"]  */
/* .tip_user {
    width: 32px;
    height: 28px;
    line-height: 20px;
    position: relative;
    top: -2px;
    font-size: 18px;
    text-align: right;
    margin-bottom: -15px;
} */
/* tr[data-my_friend="true"]  */
/* .battle_user {
    width: 22px;
    height: 30px;
    margin-bottom: -16px;
    text-align: center;
} */

.printing .tab-language{
    display: none;
}

body.no-transitions *{
    transition: none !important;
}

span.battle_user {
    position: relative;
}
 
 
 
.online-only span.battle_user:after {
    content: "12/33 - 44%";
    content: attr(data-trophies);
    min-width: 140px;
    position: absolute;
    top: 21px;
    font-size: 12px;
    text-shadow: none;
    left: 37px;
    z-index: 9;
    border-radius: 4px;
    padding: 2px 0px;
    background: white;
    color: initial !important;
    border: 1px solid gray;
    text-align: left;
    padding-left: 2px;
}

[data-theme="dark"] .online-only span.battle_user:after{
    background: #858585;
    color: #d1d1d1 !important;
}

[data-theme="dark"] .tab{
    background: #3f3f3f;
}

body[data-theme="dark"] .tab, body[data-theme="dark"] .tab {
    color: #b3b3b3;
}

.home-name {
    top: -5px;
    font-size: 12px; 
    position: absolute;
    width: 100%;
}


[data-theme="dark"] 
.home-name { 
    color: rgb(206, 206, 206); 
} 

span.uname { 
    margin-left: 3px;
}

div#table_wrap.victory:before {
    content: attr(data-victory);
    position: absolute;
    bottom: -30px;
    background: #174fc6;
    color: white;
    z-index: 9;
    font-size: 30px;
    right: 0;
    border-radius: 11px;
    width: 100%;
    padding: 5px 0;
    box-shadow: 0 0 12px black;
    opacity: 0;
    transition: all 1s ease;
    transform: translateY(-20px);
}
div#table_wrap.defeat:before {
    content:  attr(data-defeat);
    position: absolute;
    bottom: -30px;
    background: #8e8e8e;
    color: white;
    z-index: 9;
    font-size: 34px;
    right: 0;
    border-radius: 11px;
    width: 100%;
    padding: 5px 0;
    box-shadow: 0 0 12px black;
    opacity: 0;
    transition: all 1s ease;
    transform: translateY(-20px);
}

div#table_wrap.draw:before {
    content:  attr(data-draw);
    position: absolute;
    bottom: -30px;
    background: #07b62d;
    color: white;
    z-index: 9;
    font-size: 34px;
    right: 0;
    border-radius: 11px;
    width: 100%;
    padding: 5px 0;
    box-shadow: 0 0 12px black;
    opacity: 0;
    transition: all 1s ease;
    transform: translateY(20px);
}

div#table_wrap.op1:before,
div#table_wrap.op1:before{
    opacity: 1;
    transform: translateY(0px);
}

.battle-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
    bottom: -62px;
    position: absolute;
    width: 100%;
}

.battle-back{
    padding-right: 20px;
}

.battle-share svg{
    position: absolute;
    top: 7px;
    right: 9px;
}


.battle-buttons div {
    background: white;
    border-radius: 80px;
    padding: 8px 16px;
    margin: 1px;
    box-shadow: 0 0 4px black;
    cursor: pointer; 
    opacity: 0;
    transition: all 1s ease;
    transform: translateY(40px);
}
.battle-buttons .battle-share {
    /* padding-right: 35px !important; */
}

.op2 .battle-buttons div{
    transform: translateY(0px);
    opacity: 1;
}
 
.share-with-letters.battle-share .total.bigger:before{
    opacity: 1 !important;
}


.printing .battle-buttons{
    display: none !important;
}
 

.online-badge{
    position: relative;
}
 

.online-badge:after {
    content: attr(data-online_users);
    position: absolute;
    bottom: -9px;
    right: -9px;
    background: white;
    line-height: 1;
    border: 1px solid black;
    border-radius: 20px;
    color: black;
    padding: 2px 6px;
    display: none;
}

.online-badge[data-online_users=""]
 

.lang-badge{
    display: none;
}

.tab.tab-leaderboard {
    position: relative;
}
.tab.tab-leaderboard:after {
    content: attr(data-online_users);
    position: absolute;
    top: -12px;
    right: -1px;
    background: white;
    border: 1px solid;
    padding: 2px 6px;
    border-radius: 10px;
    z-index: 9;
    font-size: 11px;
}

.t-tiny{
    font: 10px;
}

.account-restore {
    border: 2px solid black;
    padding: 8px;
    border-radius: 10px;
    background: #e2e2e2;
    margin: 10px;
    font-size: 18px;
}

[data-theme="dark"]  span.battle_user:after{
    background: #777777;
}


.you .tip_user,
.you .battle_user{ 
    pointer-events: 0;
}

.battle-reacts {
    display: flex;
    position: fixed;
    z-index: 999;
    bottom: 0;
    width: 100%;
    justify-content: center;
    background: linear-gradient(0deg, rgb(0 0 0 / 70%) 0%, rgba(0,0,0,0) 55%);
    font-size: 30px;
    left: 0;
    padding: 10px 0 ;
    text-shadow: 0 0 6px black;
    flex-direction: column;
    align-items: center;
}

.battle-reacts div {
    border-radius: 100px;
    line-height: 1.3;
    margin: 2px 7px;
    cursor: pointer;
}

.cascade-wrap {
    position: fixed;
    top: 0;
    border: 0;
    left: 0;
    right: 0;
    width: 100%;
    pointer-events: none;
    height: 100vh;
}


.printing .battle-reacts{
    display:none;
}

.scrollText{ 
    background: #e1e1e1;
}

.scrollItem {
    display: inline-block;
    padding: 2px 10px;
    cursor: pointer;
    margin: 4px 10px;
    background: #c7c7c7;
    border-radius: 10px; 
    margin-right: 60px;color: #323232;
} 
.marquee{
    overflow: hidden;
 }

.scollItem{ 
    white-space: nowrap;
    clear: both;
    float: left;
}


.scrollItem *{ 
    color: inherit;
    text-decoration: none;
}

.scrollItem:hover{
 background: #b2b2b2;   
}

.small-social{
    width: 14px;
    height: 14px;
    display: inline-block;
}
.small-social.fb {
    background: url(https://cdn-icons-png.flaticon.com/512/5968/5968764.png);
    background-size: contain;
}
.small-social.tw {
    background: url(https://cdn-icons-png.flaticon.com/512/3670/3670151.png);
    background-size: contain;
}
.small-social.in {
    background: url(https://cdn-icons-png.flaticon.com/512/4494/4494488.png);
    background-size: contain;
}
.small-social.tt {
    background: url(https://cdn-icons-png.flaticon.com/512/3046/3046121.png);
    background-size: contain;
}
.small-social.wa {
    background: url(https://cdn-icons-png.flaticon.com/512/3670/3670051.png);
    background-size: contain;
}

#head_and_table .socials a {
    width: 20px;
    height: 20px;
}

[data-theme='dark'] .scrollText {
    background: #545454;
}
 
.finished 
.progress-bar-container {
display: none;
}

.progress-bar-container {
    height: 20px;
    margin: 5px;
    position: relative;
    background: #ffffff75;
    border-radius: 6px;
}

.progress-bar-indicator {
    min-width: 4%;
    transition: all 0.8s ease;
    height: 100%;
    border-radius: 4px;   
    text-align: right;
    -webkit-mask:linear-gradient(#fff 0 0);
            mask:linear-gradient(#fff 0 0);
}
.progress-bar-indicator::before {
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-image: linear-gradient(90deg, rgba(7,182,45,1) 0%, rgba(239,165,36,1) 28%, rgba(239,165,36,1) 51%, rgba(131,58,180,1) 78%, rgba(131,58,180,1) 100%);
}
.progress-bar-counter {
    text-align: right;
}
.progress-bar-counter span {
    display: block;  
}
.progress-bar-average, .progress-bar-high {
    transition: all 0.8s ease;
    position: absolute;
    top: 22px;
    left: 0;
    text-align: right;
    color: black;
    opacity: .5;
    font-size: 12px;
    padding-top: 2px;
    line-height: 2;
    min-width: 6%;
}

.progress-bar-average.passed, .progress-bar-high.passed {
    opacity: 1;
}

[data-theme="dark"] .progress-bar-average,
[data-theme="dark"] .progress-bar-high { 
    color: white; 
}

#myChart2{
    width: 100% !important;
    height: 96px !important;
}

span.prog-score {
    color: white;
    z-index: 99;
    position: relative;
    right: 4px;
    text-shadow: 0px 0px 4px black;
} 

.progress-bar-average span,
.progress-bar-high span{ 
    position: relative;
}
.progress-bar-average:before, .progress-bar-high:before {
    content: "▲";
    position: absolute;
    top: -7px;
    right: 4px;
    font-size: 8px;
}

.confetti {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1000;
  }
  .confetti-piece {
    position: absolute;
    width: 10px;
    height: 30px;
    background: #ffd300;
    top: 0;
    opacity: 0;
  }
  .confetti-piece:nth-child(1) {
    left: 7%;
    -webkit-transform: rotate(-40deg);
    -webkit-animation: makeItRain 1000ms infinite ease-out;
    -webkit-animation-delay: 182ms;
    -webkit-animation-duration: 1116ms;
  }
  .confetti-piece:nth-child(2) {
    left: 14%;
    -webkit-transform: rotate(4deg);
    -webkit-animation: makeItRain 1000ms infinite ease-out;
    -webkit-animation-delay: 161ms;
    -webkit-animation-duration: 1076ms;
  }
  .confetti-piece:nth-child(3) {
    left: 21%;
    -webkit-transform: rotate(-51deg);
    -webkit-animation: makeItRain 1000ms infinite ease-out;
    -webkit-animation-delay: 481ms;
    -webkit-animation-duration: 1103ms;
  }
  .confetti-piece:nth-child(4) {
    left: 28%;
    -webkit-transform: rotate(61deg);
    -webkit-animation: makeItRain 1000ms infinite ease-out;
    -webkit-animation-delay: 334ms;
    -webkit-animation-duration: 708ms;
  }
  .confetti-piece:nth-child(5) {
    left: 35%;
    -webkit-transform: rotate(-52deg);
    -webkit-animation: makeItRain 1000ms infinite ease-out;
    -webkit-animation-delay: 302ms;
    -webkit-animation-duration: 776ms;
  }
  .confetti-piece:nth-child(6) {
    left: 42%;
    -webkit-transform: rotate(38deg);
    -webkit-animation: makeItRain 1000ms infinite ease-out;
    -webkit-animation-delay: 180ms;
    -webkit-animation-duration: 1168ms;
  }
  .confetti-piece:nth-child(7) {
    left: 49%;
    -webkit-transform: rotate(11deg);
    -webkit-animation: makeItRain 1000ms infinite ease-out;
    -webkit-animation-delay: 395ms;
    -webkit-animation-duration: 1200ms;
  }
  .confetti-piece:nth-child(8) {
    left: 56%;
    -webkit-transform: rotate(49deg);
    -webkit-animation: makeItRain 1000ms infinite ease-out;
    -webkit-animation-delay: 14ms;
    -webkit-animation-duration: 887ms;
  }
  .confetti-piece:nth-child(9) {
    left: 63%;
    -webkit-transform: rotate(-72deg);
    -webkit-animation: makeItRain 1000ms infinite ease-out;
    -webkit-animation-delay: 149ms;
    -webkit-animation-duration: 805ms;
  }
  .confetti-piece:nth-child(10) {
    left: 70%;
    -webkit-transform: rotate(10deg);
    -webkit-animation: makeItRain 1000ms infinite ease-out;
    -webkit-animation-delay: 351ms;
    -webkit-animation-duration: 1059ms;
  }
  .confetti-piece:nth-child(11) {
    left: 77%;
    -webkit-transform: rotate(4deg);
    -webkit-animation: makeItRain 1000ms infinite ease-out;
    -webkit-animation-delay: 307ms;
    -webkit-animation-duration: 1132ms;
  }
  .confetti-piece:nth-child(12) {
    left: 84%;
    -webkit-transform: rotate(42deg);
    -webkit-animation: makeItRain 1000ms infinite ease-out;
    -webkit-animation-delay: 464ms;
    -webkit-animation-duration: 776ms;
  }
  .confetti-piece:nth-child(13) {
    left: 91%;
    -webkit-transform: rotate(-72deg);
    -webkit-animation: makeItRain 1000ms infinite ease-out;
    -webkit-animation-delay: 429ms;
    -webkit-animation-duration: 818ms;
  }
  .confetti-piece:nth-child(odd) {
    background: #7431e8;
  }
  .confetti-piece:nth-child(even) {
    z-index: 1;
  }
  .confetti-piece:nth-child(4n) {
    width: 5px;
    height: 12px;
    -webkit-animation-duration: 2000ms;
  }
  .confetti-piece:nth-child(3n) {
    width: 3px;
    height: 10px;
    -webkit-animation-duration: 2500ms;
    -webkit-animation-delay: 1000ms;
  }
  .confetti-piece:nth-child(4n-7) {
    background: red;
  }
  @keyframes makeItRain {
    from {
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    to {
      -webkit-transform: translateY(350px);
    }
  }
  

.fuzzy-bg {
    position: fixed;
    z-index: 300;
    top: 0;
    width: 100%;
    bottom: 0;
    height: 100vh;
    background: #0000009e;
    display: flex;
    align-items: center;
    justify-content: center;
}
.close-video {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 100px;
    padding: 12px;
    line-height: 1;
}

.p-none{
    pointer-events: none;
}
[data-theme="dark"]
.dark-hide{
    display: none;
}

.z99{
    width:32px;
    z-index:99;
    position: relative;
}

[data-theme="dark"]
.dark-show{
    display: block;
}
.dark-show{
    display: none;
}