#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    flex-direction: column;   
    justify-content: center;
    align-items: center;
    gap: 20px; 
}

#upload-progress {
    width: 300px;
    text-align: center;
}

#upload-progress .bar {
    width: 0%;
    height: 6px;
    background: #f8cc37;
    border-radius: 4px;
    transition: width .15s linear;
}

#upload-progress .percent {
    margin-top: 6px;
    font-size: 13px;
    color: #fff;
}

#loading-overlay .fa-spinner {
    font-size: 40px;
    color: #fff;
}

#upload-cancel {
    margin-top: 15px;
    padding: 6px 15px;
    background: #c62828;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#upload-cancel:hover {
    background: #b71c1c;
}

.video-size.badge {
    margin-top: 1px;
    font-size: 11px;
    color: #666;
    padding: 0px 2px 10px;
}


#rules {
    font-size: 11px;
    color: grey;
}

@media screen and (min-width: 840px) {
    .video iframe {
        height: 252px;
        width: 450px;
    }
}

details.spoiler[open] summary .fa-chevron-down {
  transform: rotate(180deg);
}

details.spoiler summary {
  color: grey;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  padding-bottom: 5px;
  user-select: none;
}

details.spoiler summary .fa-eye-slash {
  margin-right: 6px;
}

details.spoiler summary .fa-chevron-down {
  margin-left: 6px;
  transition: transform 0.2s;
}

.guest_post::after {
  content: "";
  display: table;
  clear: both;
}


.reactions-summary {
    display: flex;
    gap: 8px;
    float: right;
    flex-direction: row;        /* вместо row-reverse */
    justify-content: flex-end;
    margin: 5px 0;
    position: relative;
}

/* все видимые реакции (лайк, сердечко и т.д.) — order: 1 */
.reactions-summary .visible-reaction {
  order: 1;
}

/* кнопка-тумблер (main-reaction) всегда последняя — order: 2 */
.reactions-summary .main-reaction {
  order: 2;
}

/* чтобы анимировать сам счётчик */
.reaction-count.pop {
  animation: pop 0.25s ease-out;
}

.reaction-count {
  display: inline-block;      /* чтобы transform и font-size анимировались */
  font-size: 14px;
  font-weight: 500;
  /* плавный сброс, если нужно: */
  transition: font-size 0.25s ease-out, font-weight 0.25s ease-out;
}

.view-reactions-popup {
    position: absolute;
    left: -33px;
    right: auto;
    z-index: 100;
}

.reaction-bubble {
    position: relative;
    user-select: none;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    gap: 4px;
    color: #333;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    opacity: 0.7;
    transition: transform 0.1s ease;
    border-radius: 999px;
    padding: 4px 5px;
    font-size: 16px;
    background: linear-gradient(to bottom, #ECECEC 0%, #fff 50px);
}

.reaction-bubble:hover {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* keyframes для pop-эффекта 
@keyframes pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.3); }
  100% { transform: scale(1); }
}
*/

@keyframes pop {
  0% {
    transform: scale(1);
    font-size: 14px;
    font-weight: 500;
  }
  50% {
    transform: scale(1.3);
    font-size: 17px;      /* +30% от 14px */
    font-weight: 700;     /* жирнее */
  }
  100% {
    transform: scale(1);
    font-size: 14px;
    font-weight: 500;
  }
}
/* класс, запускающий анимацию */
.reaction-bubble.pop {
  animation: pop 0.25s ease-out;
}

.reaction-bubble img {
    width: 19px;
    height: 19px;
    vertical-align: middle;
}

.reaction-count {
    font-weight: 500;
    color: #444;
    font-size: 14px;
}

.likes_container {
    position: relative;
}

.reaction-toggle {
    cursor: pointer;
    font-size: 18px;
}

.reaction-panel {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px 8px;
    border-radius: 12px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.reaction {
    cursor: pointer;
    font-size: 20px;
    background-color: #f2f2f2;      
    border-radius: 50%;             
    padding: 6px;                  
    display: inline-flex;         
    align-items: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    justify-content: center;
    opacity: 0.75;
    transition: transform 0.1s ease;
}


.hidden {
    display: none !important; /* Прячем элемент */
}


 #cancel_button {
        position: absolute; 
        top: 5px;
        right: -10px;
        font-size: 22px;
        box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
        cursor: pointer;
    }

@media screen and (min-width: 480px) {
  .warning {
    background-color: #FFF;
    position: relative;
    margin: 0px 75px auto;
    padding: 20px 10px 20px 10px;
    border: 1px #c5d2df solid;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -moz-box-shadow: 0 0 10px 0 #86a2be;
    -webkit-box-shadow: 0 0 10px 0 #86a2be;
    box-shadow: 0 0 10px 0 #86a2be; }

}

@media screen and (max-width: 480px) {
  .warning {
     background-color: #FFF;
    position: relative;
    margin: 0 5px auto;
    padding: 10px 10px 10px 10px;
    border: 1px #c5d2df solid;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -moz-box-shadow: 0 0 10px 0 #86a2be;
    -webkit-box-shadow: 0 0 10px 0 #86a2be;
    box-shadow: 0 0 10px 0 #86a2be; }
  }

@media screen and (min-width: 980px) {	
#up
{
    width: 60px;
    height: 60px;
	display: none;
    position: fixed;
    cursor: pointer;
    bottom: 80px;
    left: 50px;
    z-index: 3;
}
	}
	
@media screen and (max-width: 980px) {	
	#up {
    width: 45px;
    height: 45px;
	display: none;
    position: fixed;
    cursor: pointer;
    bottom: 60px;
    right: 0px;
    z-index: 3; }
	}

@media screen and (min-width: 980px) {
#down
{
    width: 60px;
    height: 60px;
    position: fixed;
    bottom: 15px;
    left: 50px;
    z-index: 3;
    cursor: pointer;
}
	}

@media screen and (max-width: 980px) {
#down
{
    width: 45px;
    height: 45px;
    position: fixed;
    bottom: 15px;
    right: 0px;
    z-index: 3;
    cursor: pointer;
}
	}
	
	@media screen and (min-width: 480px) {
.pPageScroll
{
color:#FFFFFF;
font:bold 12pt 'Comic Sans MS';
text-align:center;
padding-top: 17px;
}
        }
		
.blok {
cursor: pointer;
color: #2251DE;    
position:relative;
padding:0.4em 1em;
margin: 0em 0.5em 1.5em;
background:#fff;
-webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
-moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
-webkit-box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
-moz-box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
font-family: "Oswald", sans-serif;
font-weight: 700;
text-transform: uppercase;
font-size: 17px;
text-align: center;
}
        
			
    .blok2 {
   position:relative;
   padding: 0.4em 1em;
   margin: 1em 0.5em 1.5em;
   text-align: center;
   background:#fff;
   -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
   -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
   box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
   -webkit-box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
   -moz-box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
   box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
   font-family: "Oswald", sans-serif;
   font-weight: 700;
   text-transform: uppercase;
   font-size: 13px; }
        
				
				@media screen and (min-width: 480px) {
.forum {
padding: 5px 15px;
}
       }
@media screen and (min-width: 480px) {
 div.head {
  background: url("/guest/img/quotel.png") no-repeat scroll left top transparent;
  height: 39px;
  left: -13px;
  opacity: 0.83;
  padding-left: 31px;
  position: absolute;
  top: -10px;
}
        }
	@media screen and (min-width: 480px) {
 div.head a {
  color: #f7ca34;
  text-shadow: 1px 1px #2251DE, 1px -1px #2251DE, -1px 1px #2251DE, -1px -1px #2251DE, 3px 3px 6px rgba(0,0,0,.5);
}
      }
		@media screen and (min-width: 480px) {
div.head > div {
  background: url("/guest/img/quoter.png") no-repeat scroll  right top transparent;
  height: 32px;
  padding-right: 10px;
}
			}
			@media screen and (min-width: 480px) {
div.head > div > div {
  background: url("/guest/img/quotec.png") repeat-x scroll left top transparent;
  color: #FFFFFF;
  font-size: 12px;
  height: 32px;
  line-height: 24px;
  text-shadow: black 0.1em 0.1em 0.9em;
}
            }
				@media screen and (min-width: 480px) {
.post .likes_wrap {
    top: 5px;
    right: 10px;
    color: grey;
    opacity: 0.7;
    position: absolute;
}
      }
					@media screen and (min-width: 480px) {
.post .likes_wrap a {
    opacity: 0.8;
}
      }
      
      @media screen and (min-width: 480px) {
      .post .count_likes {
    font-weight: bold;
    font-size: 14px; }
      }
      
    @media screen and (max-width: 480px) {
      .post .count_likes {
    font-weight: bold;
    font-size: 15px; }
      }  
     
      

							@media screen and (min-width: 480px) {
.post {
    border-bottom: 1px solid #ECECEC;
    position: relative;
    padding: 10px 0 10px 70px;
    margin: 10px 0;
    min-height: 70px;
    overflow: hidden;
}
       }
								@media screen and (min-width: 480px) {
.guest_post_me {
    position: relative;
    border-bottom: #f7ca34 2px solid;
    margin: 10px 10px;
    color: #444444;
    padding: 15px;
    background: linear-gradient(to bottom, #f7ca34 -100%,#fff 100px);
    -moz-box-shadow: 0px 5px 10px #ccc;
    -webkit-box-shadow: 0px 5px 10px #ccc;
    box-shadow: 0px 5px 10px #ccc;
    -moz-border-radius: 10px;
    border-radius: 5px;
}
    }
									@media screen and (min-width: 480px) {
.post .mess {
    color: #f7ca34;
    padding-left: 20px;
}
    }
										@media screen and (min-width: 780px) {
.post .site {
    top: 4px;
    right: 90px;
    opacity: 0.7;
    color: grey;
    position: absolute;
}
   }
			
										@media screen and (max-width: 780px) {
.post .site {
     display: none;
}
   }

.post .site a{
    color: grey;
}


@media screen and (max-width: 480px) {
.forum {
padding: 5px 15px;
}
	}

@media screen and (max-width: 480px) {
.baners {
display: none;
}
	}

@media screen and (max-width: 480px) {
div.head {
    color: #fff;
    margin: -15px -15px 0px -15px;
    padding: 6px 32px;
    border: 1px solid #4156c5;
    font-size: 12px;
    text-shadow: #041a91 0.1em 0.1em 0.5em;
    border-radius: 5px;
    border-top: 1px solid #4156c5;
    background: linear-gradient(to right, #03457a 53%, #0066ff 105%);
}
	}


@media screen and (max-width: 480px) {
 div.head a {
  color: #f7ca34;
  text-shadow: 1px 1px 2px #000;
}
  }

@media screen and (max-width: 480px) {
.post .likes_wrap {
     position: absolute; 
     top: 7px; 
     right: 10px;
     opacity: 0.8;
     text-shadow: 1px 1px 2px #000;
     color: #fff;
}
   }
	
	@media screen and (max-width: 480px) {
.post .likes_wrap a {
    color: #fff;
}
		}


	@media screen and (max-width: 480px) {
.post {
    border-bottom: 1px solid #ECECEC;
    position: relative;
    padding: 10px 0 10px 0px;
    margin: 10px 0;
    min-height: 70px;
    overflow: hidden;
}
		}

	@media screen and (max-width: 480px) {
.guest_post_me {
    position: relative;
    background: #f8f8ff;
    border-top: #4156c5 1px solid;
    border-bottom: #f7ca34 2px solid;
    margin: 10px 10px;
    color: #444444;
    padding: 15px;
    background: linear-gradient(to bottom, #f7ca34 0%,#fff 100px);
    -moz-box-shadow: 0px 5px 10px #ccc;
    -webkit-box-shadow: 0px 5px 10px #ccc;
    box-shadow: 0px 5px 10px #ccc;
    -moz-border-radius: 10px;
    border-radius: 5px;
}
		}

		@media screen and (max-width: 480px) {
.post .mess {
   display: none;
}
	}
	
	
@media screen and (max-width: 480px) {
.pinned_message {
    border-bottom: 1px solid #ECECEC;
    position: relative;
    padding: 10px 0 10px 0px;
    margin: 10px 0;
    min-height: 70px;
    overflow: hidden;
    }
}

@media screen and (min-width: 480px) {
.pinned_message {
    border-bottom: 1px solid #ECECEC;
    position: relative;
    padding: 10px 0 10px 70px;
    margin: 10px 0;
    min-height: 70px;
    overflow: hidden;
  }
}

@media screen and (min-width: 480px) {
.pinned_message .post_img {
    background-color: #E6E6E6;
    position: absolute;
    top: 10px;
    left: 10px;
    width: 50px;
    height: 50px;
    }
}

@media screen and (max-width: 480px) {
.pinned_message .post_img {
    display: none;
  }
} 

.displayError {
    border: 1.3px solid #b1abab;
    padding: 3px;
    margin: 0.5em 0.5em 1.5em;
    text-align: center;
    transition: 0.3s all;
    overflow: hidden;
    cursor: pointer;
    font-family: mx1925;
    font-size: 14px;
    border-radius: 3px;
    background: linear-gradient(to bottom right, #ff3300 0%, #ffcc99 71%);
    box-shadow: 3px 3px 14px 0px rgb(144 137 137 / 24%), 0px 9px 27px -12px rgb(33 31 31 / 10%);
   }
   
   .likes_alert {
    position: absolute;
    top: -28px;
    left: -155px;
    display: none; 
   }
   
 	@media screen and (min-width: 980px) {
.GuestfontSize {
    position: absolute;
    right: 20px;
    padding-top: 20px;
    font-size: 11px;
    color: grey;
    }
}

	@media screen and (max-width: 980px) {
.GuestfontSize {
    display: none;
     }
}  
@media screen and (max-width: 480px) {
.content_block {
	margin: 0 -15px;    }
}

@media screen and (max-width: 480px) {
.content_block_text {
	margin: 0 15px;    }
}


.content_block {
	overflow: hidden;
	position: relative;    
}
.content_block.hide {
     max-height: 70px;
}
.content_block.hide:after{
	content: "";
	display: block;
	height: 35px;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 85%)
}

.content_toggle {
	display: inline-block;
    padding: 6px;
    cursor: pointer;
    text-decoration: none;
    background-color: #e3eff1;
    border: 1px solid #caeaef;
}

iframe {
   min-width: 100px !important;
    }
    
.guestFormWrapImage {
    position: relative;
    background-size: cover;
    background-position: center 35%;
    border-radius: 8px;
    margin: 0px 0 10px;
    box-shadow: 0 1px 7px 3px #c5c5c5;
    width: 170px;
    height: 113px;
}    

@media screen and (min-width:768px) {
.guestWrapImage {
    position: relative; 
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 1px 7px 3px #c5c5c5;
    margin-top: 15px;
    display: inline-block;
    max-height: 180px;
    width: 320px;
  }
}  

 @media screen and (max-width:768px) {
    .guestWrapImage {
  position: relative;         
  border-radius: 8px;
  margin-top: 15px;
  width: 100%;
  height: auto;
    }
}

.fileGuest {
    background-repeat: repeat-x;
    background: #fff;
    color: #185490;
    border-color: #28a4c9;
    padding: 6px 8px 7px;
    vertical-align: top;
    cursor: pointer;
    display: inline-block;
    border-radius: 4px;
    font-size: 16px;
    margin: 0 0 0 15px;
    text-shadow: 1px 1px 2px #99a8b7;
    box-shadow: 0 15px 10px -10px rgb(0 0 0 / 50%), 0 1px 4px rgb(0 0 0 / 30%), 0 0 40px rgb(0 0 0 / 10%) inset;
    border: 1px solid transparent;
    }
    
.guestWrapImage .img_buttons div {
    display: block;
    padding: 8px 0;
    color: #fff;
    cursor: pointer;
    border-bottom: 1px solid #303030;
}

.guestWrapImage .img_buttons {
    position: absolute;
    bottom: 0;
    left: 0;
    display: none;
    background: rgba(0, 0, 0, 0.5);
    opacity: 1;
    text-align: center;
    width: 100%;
    transition: opacity 200ms ease-in-out;
}

.guestWrapImage .shadow {
  border-radius: 8px;
  box-shadow: 0 1px 7px 3px #c5c5c5;
    }
    
.guestWrapImage .activeMenu {
	font-size: 25px !important;
}

.guestWrapImage .img_menu_button {
    font-size: 21px;
    position: absolute;
    cursor: pointer;
    color: #f4f5f5;
    right: 5px;
    padding: 7px;
    background: rgba(0, 0, 0, 0.5);
    opacity: 1;  
}

.dislike {
  color: #f7ca34;
  text-shadow: 1px 1px 2px #000;
}

.status_club {
    vertical-align: middle;
    position: absolute;
    top: -5px;
    left: 13px;
    z-index: 3; }
    
.hideCheckbox {
	display: none;
}

.hideList {
    margin-top: 10px;
    display: none;
}
  
.hideCheckbox:checked ~ .hideList {
  display: block;
}  

.hideLabel {
    font-size: 14px;
    float: right;
    cursor: pointer;
    padding-left: 15px;
}  

#gallery_news {
height: auto !important
}	

.actClassHash {
    background: linear-gradient(to right, #dfd92eab 53%, rgb(0 0 0 / 10%) 105%);
}

.search_guest{
  position:relative;
  float: right;
}
[class^="icon-"]{
    background: #fff;
    color: #185490;
    border-radius: 5px;
    display: inline-block;
    padding: 6px 7px 7px;
    font-size: 18px;
    margin-right: 2px;
    text-shadow: 1px 1px 2px #99a8b7;
    box-shadow: 0 15px 10px -10px rgb(0 0 0 / 50%), 0 1px 4px rgb(0 0 0 / 30%), 0 0 40px rgb(0 0 0 / 10%) inset;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    cursor: pointer;
    z-index: 10;
    position: relative;
    border: 1px solid transparent;
}
[class^="icon-"]:hover{
  background: #5dade2;
  text-shadow:0px 0px 0px #21638F;
  box-shadow: inset 0px 0px 8px #21638F;
  transition:all 0.5s ease;
  -webkit-transition:all 0.5s ease;
}
.search_form{
  background: linear-gradient(to bottom, #e6e6e6 0%,#fff 100px);
  position:absolute;
  z-index:0;
  padding:0px 5px;
  right:0;
  top:15px;
  overflow: hidden;
  border-radius:10px;
  width: 20px;
  height:0px;
  transition: height 0.2s ease-out 0.5s , top 0.2s ease-out 0.5s, padding 0.2s ease-out 0.5s, width 0.3s ease-out 0.2s;
  -webkit-transition: height 0.2s ease-out 0.5s , top 0.2s ease-out 0.5s, padding 0.2s ease-out 0.5s, width 0.3s ease-out 0.2s;
}
.search_form form{
  opacity:0;
   transition:all 0.3s ease-out;
  -webkit-transition:all 0.3s ease-out;
}
.search_form input{
  background:#fff;
  border:none;
}
.search_form input[type='text']{
    border-radius: 5px 0 0 5px;
    width: 255px;
    margin: 0px 3px 0px 0;
    padding: 0px 5px 1px;
    min-height: 23px;
}
.search_form input[type='submit']{
    border-radius: 0 5px 5px 0;
    text-transform: uppercase;
    font-size: 11px;
    padding: 0px 6px;
    min-height: 23px;
    cursor: pointer;
}
.search_box{
  visibility: hidden;
}
.search_box:checked~.search_form{
    width: 300px;
    height: 33px;
    padding: 5px;
    top: 35px;
transition: height 0.2s ease-out, top 0.2s ease-out, padding 0.2s ease-out, 0.3s width ease-out 0.2s;
-webkit-transition: height 0.2s ease-out, top 0.2s ease-out, padding 0.2s ease-out, 0.3s width ease-out 0.2s;
}
.search_box:checked~.search_form form{
  opacity:1;
  transition:0.3s all ease-out 0.5s;
  -webkit-transition:0.3s all ease-out 0.5s;
}

.checkbox_1925 {
    position: relative;
    background-repeat: repeat-x;
    background: #fff;
    color: #185490;
    margin: 0px 0px 0px 15px;
    border-color: #28a4c9;
    padding: 5px 8px 5px 6px;
    vertical-align: top;
    cursor: pointer;
    display: inline-block;
    border-radius: 4px;
    font-size: 16px;
    text-shadow: 1px 1px 2px #99a8b7;
    box-shadow: 0 15px 10px -10px rgb(0 0 0 / 50%), 0 1px 4px rgb(0 0 0 / 30%), 0 0 40px rgb(0 0 0 / 10%) inset;
    border: 1px solid transparent;
}

div.checkbox_1925 input[type="checkbox"] {
  display: none;
}

div.checkbox_1925 input[type="checkbox"] + label {
  position: relative;
  padding-left: 18px;
  cursor: pointer;
}

div.checkbox_1925 input[type="checkbox"] + label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background-image: url('/sys/files/avatars/photo_50/folder1/1.jpg');
  background-size: cover;
  opacity: 0.5; /* Полупрозрачность по умолчанию */
  transition: opacity 0.3s ease; /* Плавный переход */
}

div.checkbox_1925 input[type="checkbox"]:checked + label::before {
  opacity: 1; 
}

div.checkbox_1925 input[type="checkbox"]:checked + label ~ .text {
  display: block; 
}

div.checkbox_1925 .text {
  display: none; 
  color: #333;
  text-align: center;
  font-size: 14px;
  position: absolute;
  top: -23px; 
  left: 10px;
}

.overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
    }
    
    .modal {
      width: 290px;
      background-color: #fff;
      padding: 20px;
      box-shadow: 0 0 6px 0 #6196c6;
      border-radius: 5px;
    }

.modal h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

#closeButton {
    font-size: 16px;
    margin-top: 20px;
    background-repeat: repeat-x;
    border-color: #28a4c9;
    padding: 7px 12px 8px 12px;
    cursor: pointer;
    display: inline-block;
    border-radius: 4px;
    color: #fff;
    border: 1px solid transparent;
    background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%);
}

#progressBarContainer {
  position: relative;
  height: 18px;
  margin-top: -3px;
}

#progressText {
  font-size: 11px;
  color: grey;
  position: absolute;
  left: 0;
}

#progressBar {
  height: 15px;
  max-width: 100%;
  background-color: #e5e5e5;
}

#progressBar::after {
  content: "";
  display: block;
  height: 100%;
  background-color: blue;
  width: 0;
  transition: width 0.3s ease;
}

.count {
  font-size: 11px;
}

.countTop {
  color: #b5b5b5;
  margin-top: 10px;
}

.video-horizontal {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 15px;
}

.video-horizontal video {
  max-width: 100%;
  max-height: 100%;
}

@media screen and (min-width: 480px) {
  .video-horizontal {
    justify-content: flex-start;
    padding: 15px;
  }
}


.admin-warning {
      background-color: #fff4e5;
      border-left: 5px solid #ff9800;
      border-radius: 6px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
      font-family: Arial, sans-serif;
      overflow: hidden;
      margin: 20px 0;
    }
    .admin-warning__header {
      background-color: #ff9800;
      color: white;
      padding: 7px 15px;
      font-weight: bold;
      font-size: 1rem;
    }
    .admin-warning__body {
      display: flex;
      align-items: center;
      color: #663c00;
      padding: 16px 20px;
    }
    .admin-warning__body .icon {
      font-size: 24px;
      margin-right: 12px;
      /* плавный переход при смене размеров */
      transition: font-size 0.2s, margin-right 0.2s;
    }
    .admin-warning__body .text {
      line-height: 1.4;
    }

    /* На экранах до 768px — иконка чуть меньше */
    @media (max-width: 768px) {
      .admin-warning__body .icon {
        font-size: 18px;
        margin-right: 8px;
      }
    }

    /* На экранах до 480px — скрыть иконку */
    @media (max-width: 480px) {
      .admin-warning__body .icon {
        display: none;
      }
    }


.admin_info .player-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.admin_info .avatar-info-wrap {
    display: flex;
    align-items: center;
    margin-left: 7px;
    text-align: left;
}

.admin_info .avatarWrapSK {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: cover;
    background: currentColor;
    border: 2px solid #e37517;
    color: #f7f7f7;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.admin_info .imgSK {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    pointer-events: none;
    position: relative;
}

/* Стили для оценки */
.admin_info .scorePlayerWrapSK {
    border-radius: 6px;
    color: white;
    font-weight: 700;
    position: absolute;
    left: -4px;
    bottom: -1px;
    padding: 2px 4px;
    z-index: 42;
}

.admin_info .scorePlayerWrapSK.colorGreenSK{
    background-color: #08b746;
    }
    
.admin_info .scorePlayerWrapSK.colorBlueSK{
    background-color: #0854b7;
    }
    
.admin_info .scorePlayerWrapSK.colorLightGreenSK {
    background-color: #a2bc00;
}    

.admin_info .scorePlayerWrapSK.colorOrangeSK {
    background-color: #e67a29;
}

.admin_info .player-name-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 7px;
}

.message-limit-notice {
    background-color: #fff9e6;
    border: 1px solid #ffd966;
    border-radius: 0 5px;
    padding: 5px 0px 5px 5px;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    color: #5a3e00;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.views-today-wrapper {
  width: 142.5%;    
  text-align: center;
  margin-top: 12px;
}

.views-today {
  display: inline-flex;
  align-items: baseline;
  gap: .5rem;
  padding: .35rem .6rem;
  border-left: 4px solid #88B0CA;
  border-radius: .5rem;
  background: linear-gradient(to right, rgba(136,176,202,.12), transparent);
  font-size: 13px;
  color: #9fb3c3;
}

.views-today .views-label {
  letter-spacing: .2px;
}

.views-today .views-total {
  padding: .05rem .45rem;
  border-radius: .4rem;
  background: rgba(136,176,202,.12);
  font-weight: 700;
  color: #dfe8f0;
}

.views-today .views-meta {
  opacity: .85;
}

@media (max-width:560px) {
  .views-today {
    flex-wrap: wrap;
  }

  .views-today .views-meta {
    display: none;
  }
}
