/*  */
:root {
  --color-header: #18181a;
  --color-body: #121215;
  --color-selection: #5951b3;
  --color-form: #736a6a;
  --color-warning: rgb(255, 41, 41);

  --max-width-mainblock: 1180px;
}



/* Задаем родительские параметры */
*,
*::before,
*::after{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html{
    margin-right: calc(-1 * (100vw - 100%));
    /* overflow-x: hidden; */
    -webkit-text-size-adjust: none;
}
*::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

/* Track */
*::-webkit-scrollbar-track {
    background: #202024;
}

/* Handle */
*::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: rgb(61, 61, 61);
}

/* Handle on hover */
*::-webkit-scrollbar-thumb:hover {
    background: #5951b3;
}


body{
    overflow-x: hidden;
    overflow-y: scroll;
    /* background-color: #111118; */
    background-color: var(--color-body);
    font-family: "Exo 2", sans-serif;
    color: #fff;
}
input {
    padding: 0;
    margin: 0;
    border: 0;
    border: none;
  }


a {
    text-decoration: none;
    color: #fff;
}

.logo_image,
a.not_animate_link:focus, 
a.not_animate_link:active, 
a.not_animate_link:hover{
    outline: none !important;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    -webkit-tap-highlight-color: transparent;
}

.main_text_animate:hover{
    color: var(--color-selection);
    transition: .08s linear;
}





.content_block { 
    padding: 0 5px;
    position: relative;
    max-width: var(--max-width-mainblock);
    width: 100%;
    height: fit-content;
    margin: 0 auto;
}

#Body_block { 
    min-height: 100vh;
}


button{
    border: 0;
}





.scroll-container {
    cursor: grab; /* Курсор в виде руки для индикации возможности захвата */
    user-select: none; /* Отключаем выделение текста при перетаскивании */
}







.hidden {
    display: none !important;
}


/* ================================================================ */
/* Шапка */

.content_block.header_inner {
    min-height: fit-content;
}

header{
    position: fixed;
    padding: 0 15px;
    top: 0;
    left: 0;
    width: 100%;
    height: 62px;
    z-index: 5;
    /* background: linear-gradient(45deg,#8b41b3,#3d0aa7 60%,#2b1360); */
    /* background-color: #171717; */
    background-color: var(--color-header);
    transition: .3s ease all
}



.header_inner {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    /* border: 2px solid rgb(255, 111, 59); */
}

.header_block{
    height: 100%;
    display: flex;
    align-items: center;
}
.header_center_block{
    width: 70%;
}
.header_left_block{
    margin-right: 20px;
}
.header_right_block{
    margin-left: 20px;
}




/* Logo */
.logo_place{
    width: fit-content;
}
.logo_placer{
    display: inherit;
    height: inherit;
    align-items: inherit;
    color: white;
    display: flex;
    flex-direction: row;
    /* font-family: 'Expletus Sans', cursive; */
}

.logo_image{
    display: flex;
    height: inherit;
    align-items: center;
    max-width: 40px;
    max-height: 40px;
}

.logo_text {
    font-size: .9rem;
    font-family: 'Expletus Sans', cursive;
    margin-left: 1px;
}



/* Search */
.search_placer{
    display: flex;
    height: 60%;
    width: 60%;
    flex-direction: row;
    align-items: flex;
    border-radius: 7px;
    background-color: rgb(40, 40, 46);
    margin-right: 15px;
}
.search_icon_placer{
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    opacity: 85%;
    padding-left: 11px;
}
.search_icon{
    width: 18px;
    height: 18px;
}
.search_input_form{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    height: 100%;
}
.search_input{
    width: 100%;
    color: #ffffff;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0);
    padding: 11px;
    font-size: 12pt;
}
.search_input::-webkit-input-placeholder {
    color: #ffffffca;
    font-size: 12pt;
 }

.search_input:active, :hover, :focus {
    outline: 0;
    outline-offset: 0;
} 

.search_input_clear {
    cursor: pointer;
    width: 23px;
    height: 23px;
    fill: white;
    margin-right: 10px;
    border-radius: 50vmax;
    transition: all .13s ease-out;
}
.search_input_clear:hover{
    fill: var(--color-selection);
}





.search_icon_placer{
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    opacity: 85%;
    padding-left: 11px;
}
.search_icon{
    width: 18px;
    height: 18px;
}
/* .search_input{
    width: 100%;
    color: #ffffff;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0);
    padding: 8px;
    font-size: 12pt;
} */



/* Buttons */
.header_button{
    display: inherit;
    height: inherit;
    align-items: inherit;
    margin-right: 25px;
    white-space: nowrap;                                                                    
    transition: .08s linear;
}


.header_important_button{
    background-color: #5648b2;
    border-radius: 7px;
    padding: 8px 15px;
    font-weight: 500;
    transition: .08s linear;
}
.header_important_button:hover{
    background-color: #6355bf;
    transition: .08s linear;
}

.header_important_create_button{
    white-space: nowrap;
    background-color: rgba(255, 255, 255, 0);
    color: rgb(210, 246, 255);
    border: .5px solid #fff;
    border-radius: 5px;
}
.header_important_create_button:hover{
    background-color: rgba(0, 0, 0, 0);
    color: var(--color-selection);
    border: .5px solid var(--color-selection);
}


/* Menu Toggle */
.open_menu_button{
    height: 25px;
}


a.rlblink:focus, 
a.rlblink:active, 
a.rlblink:hover{
    outline: none !important;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    -webkit-tap-highlight-color: transparent;
}

.toggle_block{
    display: none;
}
.toggle{
    width: 25px;
    height: 25px;
    fill: rgb(245, 245, 245);
    cursor: pointer;
    transition: .09s linear; 
}
.toggle:hover{
    fill: #5385d0;
    transition: .09s linear; 
}





.profile_picture_placer {
    width: fit-content;
    height: fit-content;
    overflow: hidden;
    border-radius: 14%;
    transition: .09s;
    border: thin solid hsl(240 3.7% 15.9%);
}

.profile_picture_placer:hover{
    border: thin solid var(--color-selection);
}

.profile_picture_img {
    width: 50px;
    height: 50px;
    background-size: cover;
    background-position: 50%;
}

.profile_picture_img > img {
    width: 100%;
    height: 100%;
}


.notifications_bell_button {
    display: flex;
    align-items: center;
    height: 100%;
    width: fit-content;
    padding: 5px 13px;
    margin: 0 5px;
    /* border: 1px solid sandybrown; */
}
.notifications_bell_button:hover .notifications_bell_svg_base {
    fill: var(--color-selection);
}
.notifications_bell_button:hover .notifications_bell_svg_notif .svg-secondary {
    fill: var(--color-selection);
}


.notifications_bell_svg_base {
    width: 27px;
    height: 27px;
    transition: all .08s linear;
}

.notifications_bell_svg_normal{
    fill: white;
}



.notifications_bell_svg_notif {
    animation-direction: alternate;
	animation-duration: .2s;
	animation-name: move;
	animation-iteration-count: 15;
	animation-timing-function: linear;
}
.notifications_bell_svg_notif .svg-primary {
    fill: var(--color-selection);
}
.notifications_bell_svg_notif .svg-secondary {
    fill: #a19cdd;
}
@keyframes move {
	from {
		transform: rotate(20deg);
	}
	to {
		transform: rotate(-20deg);
	}
}




.current_user_lvl {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 10px;
    font-weight: 600;
    color: var(--color-selection);
    font-size: 16pt;
    margin-bottom: 20px;
}


.horizontal_title_info_xp_received {
    display: flex;
    min-height: 80px;
    width: max-content;
    align-items: center;
    white-space: nowrap;
    font-weight: 500;
    font-size: 12pt;
}








/* ================================================================ */
/* Подвал */
footer {
    position: relative;
    width: 100%;
    height: min-content;
    background-color: #18181b;
    color: #71799b;
    margin-top: 120px;
    padding: 25px 10px;
}

.footer_inner{
    display: flex;
    flex-direction: row;
}

.foot_space{
    display: flex;
    flex-direction: row;

    width: fit-content;
    height: fit-content;

    white-space: nowrap;

    /* border: 1px solid darkolivegreen; */
}

.right_space{
    width: 100%;
    justify-content: end;
}

.footer_col{
    display: flex;
    flex-direction: column;
    justify-content: left;
    height: fit-content;
    width: fit-content;

    margin-right: 70px;
}

.footer_col_right{
    margin: 0;
}

.footer_col_head{
    color: rgb(255, 255, 255);
    font-size: .75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer_link{
    font-size: .9rem;
    color: #c3c3c3;
    transition: .08s linear;
    margin: 4px 0;
}
.footer_link:hover{
    color: gainsboro;
    transition: .08s linear;

}

.right_col{
    right: 0;
}

.footer_text{
    display: flex;
    max-width: 500px;
    width: max-content;
    white-space: normal;
}


.footer_contact_svg svg{
    margin-right: 6px;
    margin-bottom: 6px;
    fill: white;
    width: 26px;
    height: 26px;
}






/* ================================================================ */
/* Тело */




.base_content_block{
    /* border: 1px solid salmon; */
}




/* Mobile menu */
.header_mobile_toggle{ 
    display: none;
}
.menu_butts_block{
    display: none;
}












/* log reg page */
.form_block_placer{
    height: fit-content;
    width: 100%;
    max-width: 460px;
    border-radius: 6px;
    background-color: #1e1e30bf;
    padding: 20px 25px;
}
.form_block_header{
    font-size: 22pt;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.938);
}
.form_block_additional_info{
    font-size: 10pt;
    font-weight: 400;
    color: #71799b;
    padding: 25px 0;
}

.form_label_placer{
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.form_label_name{
    font-size: 10.5pt;
    color: #b0b7cb;
    padding-left: 7px;
    padding-bottom: 3px;
}
.logreg_form_label{
    color: white;
    width: 100%;
    height: 35px;
    border-radius: 7px;
    padding: 5px 10px;
    font-size: 12pt;
    background-color: #2b2d41;
    border: 0;
}
.logreg_form_label:focus{
    border: .5px solid #3f3795 !important;
}

.article_for_label{
    border-radius: 3px;
    margin-bottom: 20px;
    font-size: 16pt;
    background-color: #1e1e30bf;
}
.article_for_label::placeholder{
    color: rgb(187, 187, 187);
}
.article_for_text_label{
    padding: 0;
    font-size: 13pt;
    height: 900px;
}



.logreg_form_button{
    border-radius: 7px;
    color: whitesmoke;
    width: 100%;
    font-size: 13pt;
    padding: 10px;
    background-color: #be3966;
    border: 0;
}

.form_block_need_login{
    font-size: 10.6pt;
    color: #71799b;
    padding-top: 18px;
}
.form_block_need_login_link{
    color: #02a9ff;
}

.form_block_error_msg{
    font-weight: 600;
    font-size: 10pt;
    padding-left: 4px;
}













.horizontal_title_boxes_carousel_element {
    margin-right: 10px;
}

.horizontal_title_box {
    display: flex;
    flex-direction: row;
    width: 300px;
    height: 90px;
    background: #18181a;
    /* border: thin solid #29245a; */
    border-radius: 4px;
    padding: 8px 10px;
    cursor: pointer;
    transition: all .08s linear;
}

.horizontal_title_box:hover {
    background: #212121;
}

.horizontal_title_box > .title_image_place {
    height: 100%;
    width: 60px;
    background-color: #222224;
    overflow: hidden;
    border-radius: 4px;
}

.horizontal_title_box > .title_info_place {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding-left: 13px;
    width: 100%;
}


/* Стили для прогресс-бара */
.progress-container {
    margin-top: 3.5px;
    width: 100%;
    background-color: #212121;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 5px;
    background-color: #5649e1;
    width: 0%; /* Начальное значение ширины */
}





/* universal Title box */

.title_box{
    padding: 8px;
    width: 100%;
    height: 100%;
    font-family: Exo\ 2,Roboto,-apple-system,Nunito Sans,SF Pro Text,SF Pro Icons,Segoe UI,Helvetica Neue,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
}
.title_box:hover > .title_name {
    color: #5951b3;
    transition: .08s linear;
}

.title_image_place{
    height: 74.641791044776%;
    margin-bottom: 8px;
    background-color: #222224;
    overflow: hidden;
    border-radius: 4px;
}

.title_image{
    max-width: 100%;
    width: 100%;
    height: auto;
    background-position: 50%;
    padding-top: 150%;
    background-size: cover;
}

.title_name, .title_type{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.title_name{
    font-weight: 500;
    font-size: 10.5pt;
    color: #ece5e5;
    margin-bottom: 4px;
}

.title_type{
    color: #939393;
    font-size: 9.5pt;
}
















/* Index/Home page */

.block_headline{
    color: rgb(230, 224, 224);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1;
    font-family: "Gotham Pro", "Twemoji Mozilla", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
    padding-top: 15px; 
    padding-left: 10px;
}

.block_headline--pdtop{
    padding-top: 25px;
}



.base_carousel{
    padding: 14px 3px;
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
}
.big_carousel{
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    background-color: #121215;
    padding-bottom: 0;
}

.index_secondary_block{
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-header)
}


.base_carousel::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.carousel_element{
    min-width: 160px;
    max-width: 160px;
    min-height: 301px;
}

/* .carousel_element::before{
    width: 160px;
    height: 301px;
} */

.secondary_carousel > .carousel_element{
    width: 145px;
    height: 270px;
}






.base_carousel_section_scroller {
    overflow-x: hidden;
    flex-direction: column;
}

.section_scroller {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    box-shadow: 0 3px 10px 0 rgba(#000, 0.1);
    -webkit-overflow-scrolling: touch;
    scroll-padding: 1rem;
    padding: 1rem;
    margin: auto 0;
    border-radius: 5px;
  }
  .section_scroller::-webkit-scrollbar {
      width: 0;
      height: 0;
  }

  @media (max-width: 670px) {
    .section_scroller {
        justify-content: normal;
    }
}
  
  .section_scroller__item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 0 0 300px;
    width: 30px;
    scroll-snap-align: start;
    font-size: 1.5rem;
  }








.small_carousel > .carousel_element{
    width: 120px;
    height: 230px;
    min-width: 120px;
    max-width: 120px;
    min-height: 230px;
    margin: 2px;
}
.small_carousel > .carousel_element > a{
    display: block;
    width: inherit;
    height: inherit;
}
.small_carousel > .carousel_element .title_box{
    padding: 2px;
}
.small_carousel > .carousel_element .title_name{
    font-size: 8pt;
}
.small_carousel > .carousel_element .title_type{
    font-size: 7.5pt;
}



.users_carousel > .horizontal_title_box {
    width: 340px;
    height: 65px;
    margin-right: 8px;
}
.users_carousel > .horizontal_title_box > .title_image_place {
    width: 50px;
    min-width: 50px;
    height: 50px;
    min-height: 50px;
    padding: 0;
}
.users_carousel > .horizontal_title_box > .title_image_place > .title_image{
    padding-top: 0;
}

.users_carousel > .horizontal_title_box > .title_info_place {
    padding-left: 8px;
}

.users_carousel .title_name {
    font-size: 8.5pt;
}
.users_carousel .title_type {
    white-space: nowrap;
    font-size: 7.5pt;
}



.genre_carousel > .carousel_element{
    padding: 3px 9px;
    margin-right: 8px;
    min-width: 168px;
    min-height: 65px;
}


a.title_poster_link:focus, 
a.title_poster_link:active, 
a.title_poster_link:hover
{
    -webkit-tap-highlight-color: rgba(221, 221, 221, 0.102);
}

a.tap_highlight_remove:focus, 
a.tap_highlight_remove:active, 
a.tap_highlight_remove:hover
{
    -webkit-tap-highlight-color: transparent;
}


.genre_block{
    display: flex;
    width: 100%;
    padding: 5px;
    height: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    border: thin solid #3f3795;
    border-radius: 4px;
    font-size: .825rem;
}

























.horizontal_titles_place{
    width: 100%;
    display: flex;
    flex-direction: column;
}
.horizontal_title_place{
    padding: 10px;
}
.horizontal_title {
    display: flex;
    width: 100%;
    flex-direction: row;
    padding-bottom: 5px;
    border-bottom: .1px solid rgba(255, 255, 255, 0.092)
}

.horizontal_title_image_place{
    border-radius: 4px;
    overflow: hidden;
    width: 80px;
    background-color: #222224;
}

.horizontal_title_info_place{
    display: flex;
    flex-direction: column;
    width: calc(100% - 80px);
    height: 100%;
    padding: 20px 0 15px 20px;
}

.horizontal_title_info_title_name, horizontal_title_info_title_chapter{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.horizontal_title_info_title_name{
    font-size: 10pt;
    font-weight: 600;
    margin-bottom: 14px;
}

.horizontal_title_info_title_chapter{
    font-size: 12.5pt;
    padding-bottom: 14px;
}
.horizontal_title_info_title_type{
    display: -webkit-box;
    color: #939393;
    font-size: 9.5pt;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
















/* Center block for reg|auth*/
.center_block_placer{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}























.base_form{
    width: 50%;
}

/* Form label's */
.base_form_label{
    display: flex;
    color: white;
    width: 100%;
    height: 40px;
    border-radius: 4px;
    padding: 5px 10px;
    margin-bottom: 30px;
    font-size: 14pt;
    background-color: transparent;
    border: thin solid var(--color-form);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.base_form_label:focus{
    border: .5px solid #3f3795 !important;
}



.base_form_label_submit{
    text-align: center;
    width: 100%;
    background-color: #5648b2;
    color: white;
    padding: 10px;
    border-radius: 4px;
    font-size: 14pt;
}
.base_form_label_submit:hover{
    cursor: pointer;
    background-color: #6355bf;
}



.base_form_label_checkbox_placer{
    display: flex;
    flex-direction: row;
    padding-top: 9px;
    padding-bottom: 22px;
}
.base_form_label_checkbox_text{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 21.5px;
    font-size: 11.5pt;
    margin-left: 29px;
    color: #939393;
}


.base_form_label > option {
    background-color: var(--color-header);
}



.base_form .container {
    height: 50px;
    position: relative;
    cursor: pointer;
    font-size: 22px;
    margin-top: 35px;
    margin-bottom: 20px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  /* Hide the browser's default checkbox */
  .container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
  /* Create a custom checkbox */
  .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 21.5px;
    width: 21.5px;
    background-color: var(--color-form);
  }
  
  /* On mouse-over, add a grey background color */
  .container:hover input ~ .checkmark {
    background-color: #3f3795
  }
  
  /* When the checkbox is checked, add a blue background */
  .container input:checked ~ .checkmark {
    background-color: #5648b2;
  }
  
  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  /* Show the checkmark when checked */
  .container input:checked ~ .checkmark:after {
    display: block;
  }
  
  /* Style the checkmark/indicator */
  .container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }


.base_form_text_warning { 
    color: var(--color-warning);
    padding-bottom: 3px;
    font-size: 10pt;
}

.base_form_additional_text{
    padding-top: 10px;
    font-size: 10.5pt;
    color: #939393;
}

.base_form_additional_text .main_text_animate{
    color: rgb(119, 119, 255);
}

.base_form_additional_text .main_text_animate:hover{
    color: rgb(81, 81, 218);
}












.social_login_block {
    width: 100%;
    height: 40px;
    display: flex;
    flex-direction: row;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.055);
    cursor: pointer;
    user-select: none;
    overflow: hidden;
    margin-bottom: 13px;
}


.social_login_block_left {
    height: 100%;
    width: 45px;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social_login_block_left--telegram {
    background-color: #0288cb;
}
.social_login_block_left--google {
    background-color: #c93129;
}

.social_login_block_left > svg {
    width: 22px;
    height: 22px;
    fill: white;
}



.social_login_block_right {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 10px;
    font-size: 9pt; 
    opacity: .9; 
    font-weight: 400;
    transition: all .08s linear;
}

.social_login_block:hover .social_login_block_right {
    background-color: rgba(255, 255, 255, 0.055);
}





/* Title page */
.title_contents_placer{
    display: flex; 
    flex-direction: row;
}

.left_row{
    min-width: 270px;
    height: fit-content;
}

.title_left_row{
    position: fixed;
    margin-top: 38px;
    min-width: 270px;
    height: fit-content;
}

.title_left_row .title_box{
    overflow: hidden;
    border-radius: 7px;
    padding: 0;
    padding-bottom: 2px;
}

.title_left_row .base_form_label_submit{
    display: flex;
    justify-content: center;
    padding: 9px;
    font-size: 11pt;
    margin-bottom: 10px;
}

.right_items_grid{
    width: calc(100% - 270px);
    /* border: 2px solid saddlebrown; */
    padding-left: 30px;
    padding-top: 30px;
}

.title_head_info{
    width: 100%;
    /* border: 1px solid rgb(139, 19, 53); */
}

.type_block{
    margin-bottom: 12px;
}

.title_head_additional_info{
    color: #939393;
    font-weight: 400;
    font-size: .875rem;
    margin-top: 8px;
}   

.title_head_name{
    font-size: 25pt;
    font-weight: 500;
}

.title_head_additional_info .not_animate_link{
    color: #939393;
    font-size: .875rem;
    transition: .09s all ;
}

.title_head_additional_info .not_animate_link:hover{
    color: #c6c6c6;
}

.title_head_additional_info span.el{ 
    display: flex;
    align-items: center;
    padding-right: 8px;
}

.center_dot{
    font-weight: 900;
}

.title_head_genres_placer{
    display: flex;
    align-items: center;
}

.title_head_genres{
    padding-top: 5px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 90%;
    /* height: 40px; */
    white-space: normal;
    align-items: center;
    /* -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    justify-content: center; */
}

.title_head_genre_base_block{
    font-size: .695rem;
    font-weight: 600;
    height: 24px;
    margin: 4px 8px 4px 0;
    padding: 5.5px 10px;
    border-radius: 3px;
    overflow: hidden;
    transition: .09s all;
    
}
.title_head_genre_base_block:hover{
    cursor: pointer;
    background-color: rgba(76, 73, 94, 0.3);
}

.title_head_genre_block{
    background-color: rgba(52,49,69,.3);
    color: #ffffffe9;
}   
.title_head_genre_button{
    background-color: transparent;
    color: var(--color-selection);
}   


.title_head_genres_element{
    display: flex;
}
.title_head_genres_element--show{
    display: flex !important;
}









.title_head_description{
    margin-top: 10px;
    font-size: .875rem!important;
    font-weight: 400;
    line-height: 1.25em;
    font-family: Exo\ 2,Roboto,-apple-system,Nunito Sans,SF Pro Text,SF Pro Icons,Segoe UI,Helvetica Neue,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
    white-space: break-spaces;
    max-height: 55px;
    overflow: hidden;
    transition: .25s ease max-height;
}
.title_head_description--show{
    max-height: 1500px;
    transition: .55s ease max-height;
}


.find_chapter_by_num_placer {
    top: 64px;
    position: sticky;
    display: flex;
    flex-direction: row;
    background-color: #18181a;
    margin-bottom: 7px;
    width: fit-content;
    z-index: 1;
}

.find_chapter_by_num_label {
    display: flex;
    color: white;
    width: 100%;
    max-width: 300px;
    height: 30px;
    border-radius: 4px;
    padding: 5px 8px;
    font-size: 12pt;
    background-color: transparent;
    border: thin solid var(--color-form);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.find_chapter_by_num_label:focus {
    border: .5px solid #3f3795 !important;
}

.searchChapterByNumberIcon:hover {
    cursor: pointer;
}



.title_body_info{
    margin-top: 20px;
}
.title_body_info_menu_inner_button{
    display: flex;
    flex-direction: row;
    align-items: center;
    height: min-content;
    width: fit-content;
    cursor: pointer;
    border-radius: 4px;
    padding: 7px 5px;
    margin: 5px 0;
    transition: .08s;
    font-size: 14.5px;
    -webkit-user-select: none; /* для Webkit-браузеров */
    -moz-user-select: none; /* для Firefox */
    -ms-user-select: none; /* для Edge */
    user-select: none;
}
.title_body_info_menu_inner_button:hover{
    background-color: rgba(255, 255, 255, 0.035);
}

.title_body_info_menu_inner_button:active{
    background-color: rgba(255, 255, 255, 0.055);
}

.reverse_chapters_button_svg {
    width: 18px;
    height: 18px;
    cursor: pointer;
    fill: white;
    margin-right: 8px;
    transition: .08s;
}

.reverse_chapters_button{
    color: white;
    font-size: .9rem;
    transition: .08s;
}


.title_body_info_menu_inner_button:active .reverse_chapters_button_svg{
    fill: var(--color-selection)
}
.title_body_info_menu_inner_button:active .reverse_chapters_button{
    color: var(--color-selection)
}




/* tabsmenu */
.tabsmenu {
    margin-bottom: -1px;
    height: 40px;
    display: flex;
    align-items: center;
    border: thin solid #cbc7fc3b;
    gap: 20px;
    border-radius: 10px;
    padding: 4px;
}

.tabsmenu li {
    /* width: 135px;
    height: 40px; */
    width: fit-content;
    height: 100%;
    padding: 0 12px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: .9rem;
    font-weight: 550;
    /* color: rgb(74, 74, 74); */
    color: hsl(0 0% 98%);
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    -webkit-tap-highlight-color: transparent;   
}

.tabsmenu .active {
    color: #fff;
    border-radius: 5px 5px 0 0;
    cursor: default;
}

/* .tabsmenu2 .active {
    color: var(--color-selection);
    border: solid 1.5px transparent;
    border-bottom-color: var(--color-selection);
} */

.tabsmenu2 .active {
    /* color: var(--color-selection); */
    /* border: solid 0 transparent; */
    border-radius: 5px;
    background-color: var(--color-selection);
}


.tabsmenu_container>div {
    margin-bottom: 50px;
    padding-top: 15px;
    border-radius: 0 3px 3px 3px;
}

.chapters_container{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: fit-content;
}

.chapters_container--reverse {
    flex-direction: column-reverse;
}

.chapter_block{
    display: flex;
    align-items: center;
    width: 100%;
    height: 35px;
    background-color: var(--color-header);
    border-radius: 5px;
    margin-bottom: 5px;
    transition: .06s;
}
.chapter_block:hover{
    cursor: pointer;
    background-color: #2a2a2c;
}


.chapter_block_inner{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: fit-content;
    padding: 0 12px;
    padding-right: 20px;
}
.chapter_block_inner > div {
    white-space: nowrap;
}

.chapter_volume {
    display: flex;
    align-items: center;
    min-width: 55px;
    color: #939393;
    font-size: 9.5pt;
}

.chapter_number{
    color: #ffffff;
    font-size: 11pt;
}

.chapter_upload_date{
    display: flex;
    align-items: center;
    color: #939393;
    font-size: 9.5pt;
    width: 100%;
    flex-direction: row-reverse;
}

.chapter_private_svg {
    width: 12px;
    height: 12px;
    fill: #939393;
    margin-left: 4px;
}


.user_comment_placer {
    border-radius: 6px;
    padding: 4px 6px;
    border: thin solid #cbc7fc3b;
    color: hsl(0 0% 100%/77%);
    background-color: color-mix(in oklab, hsl(240 3.7% 10%) 50%, transparent);
}

.user_comment_placer .comment_user_info {
    padding: 0;
}




.write_comment_placer {
    /* position: sticky; */
    top: 64px;
    max-width: 870px;
    width: 100%;
    height: fit-content;
    margin-bottom: 15px;
    border-radius: 6px;
    border: thin solid transparent;
    overflow: hidden;
}

.write_comment_label{
    display: flex;
    color: white;
    max-width: 870px;
    width: 100%;
    /* height: 45px; */
    padding: 10px;
    font-size: 12pt;
    font-family: "Exo 2", sans-serif;
    /* background-color: var(--color-header); */
    background-color: transparent;
    resize: none;
    border: none;
    outline: none;
    overflow: auto;
    border: thin solid transparent;
    border-radius: 6px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.write_comment_label:focus{
    /* border: thin solid #3f3795; */
}

.write_comment_label_submit {
    margin-top: 4px;
    background-color: #4b3e99;
    color: white;
    /* position: absolute; */
    /* right: 15px;
    top: 10px; */
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11pt;
    transition: all .08s linear;
}

.write_comment_label_submit:hover{
    background-color: var(--color-selection);
}


.comment_placer {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 25px;
}

.comment_info {
    width: 100%;
    display: flex;
}

.user_name {
    color: #b0b7cb;
    font-weight: 600;
    font-size: .95rem;
    line-height: 110%;
}


.user_name > span {
    margin-right: 6px;
}

.comment_info {
    padding-bottom: 5px;
}

.comment_user_avatar > a {
    position: relative;
}

.frame {
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(1.18);
    border-radius: 0 !important;
    width: 100%;
}   

.user_profile_picture {
    width: 34px;
    height: 34px;
    background-size: cover;
    background-position: 50%;
    border-radius: 5px;
}





.item_profile_status {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
}



.item_profile_name_style {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}



/* Tier 1 */

.style22 {
    color: #eee;
}

.style21 {
    color: rgb(148, 148, 148);
}

.style29 {
    color: #0acc9e;
}

.style4 {
    color: #0E9100;
}

/* Tier 2 */


.style23 {
    color: #b35ede;
}

.style9 {
    color: #0075ad;
}

.style11 {
    color: #56b5e0;
}

.style7 {
    color: #FFD700;
}

.style8 {
    color: #FF9304;
}

.style30 {
    color: rgb(255, 154, 252);
}

.style12 {
    color: rgb(1, 247, 60);
}


/* Tier 3 */
/* Поставить за 9999 */

.style26 {
    background: linear-gradient(90deg, #0095dd 0%, #f1094b 100%, #0095dd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.style265 {
    background: linear-gradient(35deg, #006eff, #00ff81 52%, #fff 50%, #93cbff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 7px #00ffcf80
}


/* Tier 4 */
/* Поставить за 99999 */



.style333 {
    color: #fff;
    text-shadow: 5px 5px 0px #8b00ff, 5px -3px 3px #8b00ff, 3px -2px 1px #8b00ff, -1px -3px 0px #8b00ff, 0 1px 0px #8b00ff, 0px -1px 0px #3e00ff, -1px -1px 0px #3e00ff, 1px -1px 0px #3e00ff, -1px 1px 1px #3e00ff, 3px 3px 0px #3e00ff, 0px 1px 5px #3e00ff, 1px 1px 3px #3e00ff, 1px 1px 5px #3e00ff, 1px 1px 5px #3e00ff, 1px 1px 3px #3e00ff, 1px 1px 3px #3e00ff, 1px 1px 5px #3e00ff, 0px -2px 0px #3e00ff, -1px -2px 0px #3e00ff, 1px -2px 0px #3e00ff;
}

.style10{
    background: linear-gradient(90deg, #ee9090, #b164eb 52%, #a037e2 30%, #8f73ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 0px 5px #9037e2;
}





.comment_user_info {
    padding-left: 11px;
}

.comment_publish_date {
    font-weight: 400;
    font-size: .85rem;
    color: #9ba1b1;
    line-height: 125%;
}

.comment_content {
    color: #7f86a5;
    font-weight: 600;
    font-size: .9rem;
}

.comment_options_line {
    margin-top: 10px;
    color: #939393;
    font-size: 9.5pt;
}

.comment_body_placer {
    background-color: var(--color-header);
    border-radius: 8px;
    margin-left: 9px;
    padding: 10px;
    padding-bottom: 15px;
    width: 100%;
    border: thin solid rgba(255, 255, 255, 0.092);
}

.comment_info_head {
    width: 100%;
    height: fit-content;
    margin-bottom: 7px;
    font-size: 10pt;
    font-family: Exo\ 2,Roboto,-apple-system,Nunito Sans,SF Pro Text,SF Pro Icons,Segoe UI,Helvetica Neue,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
    color: #939393;
}

.comment_info_head a {
    font-size: 11pt;
    font-family: Exo\ 2,Roboto,-apple-system,Nunito Sans,SF Pro Text,SF Pro Icons,Segoe UI,Helvetica Neue,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
    margin-right: 7px;
}

.comment_body_text {
    width: 100%;
    height: fit-content;
    font-size: 11.5pt;
    line-height: 1.25em;
}

.comment_delete_button_placer {
    margin-top: 15px;
    width: min-content;
}

.comment_delete_button {
    color: rgb(181, 36, 36);
    font-size: 10pt;
    transition: all .06s linear;
}

.comment_delete_button:hover{
    color: rgb(255, 0, 0);
}















.multi-select-dropdown-container {
    color: white;
    max-width: 50vw;
    margin: 0 auto;
    min-height: 40px;
    margin-bottom: 30px;
    background-color: transparent;
    border-radius: 4px;
    border: thin solid var(--color-form);
}

select[data-multi-select-plugin] {
    display: none !important;
}

.multi-select-component {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    min-height: 40px;
    height: 100%;
    width: 100%;
    padding: 5px 10px;
    font-size: 14px;
    line-height: 1.42857143;
    padding-bottom: 0px;
}

.autocomplete-list {
    border-radius: 4px 0px 0px 4px;
}

.multi-select-dropdown-container:focus-within{
    border: thin solid #3f3795 !important;
}

.multi-select-component .btn-group {
    display: none !important;
}

.multiselect-native-select .multiselect-container {
    width: 100%;
}

.selected-wrapper {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    display: inline-block;
    white-space: nowrap;
    margin: 1px 5px 5px 0;
    height: 22px;
    vertical-align: top;
    cursor: default;
    font-weight: 600;
    color: var(--color-selection);
}

.selected-wrapper .selected-label {
    max-width: 514px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 4px;
    vertical-align: top;
}

.selected-wrapper .selected-close {
    display: inline-block;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.49em;
    margin-left: 5px;
    padding-bottom: 10px;
    height: 100%;
    vertical-align: top;
    padding-right: 4px;
    opacity: 0.4;
    color: rgb(255, 255, 255);
    /* text-shadow: 0 1px 0 #fff; */
    font-weight: 700;
}

.search-container {
    display: flex;
    flex-direction: row;
}

.search-container .selected-input {
    color: white;
    font-size: 14pt;
    background: none;
    border: 0;
    height: 20px;
    width: 60px;
    padding: 0;
    margin-bottom: 6px;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.search-container .selected-input:focus {
    outline: none;
}

.dropdown-icon.active {
    transform: rotateX(180deg)
}

.search-container .dropdown-icon {
    display: inline-block;
    padding: 10px 5px;
    padding-top: 20px;
    position: absolute;
    top: 5px;
    right: 5px;
    width: 10px;
    height: 10px;
    border: 0 !important;
    /* needed */
    -webkit-appearance: none;
    -moz-appearance: none;
    /* SVG background image */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%3E%3Ctitle%3Edown-arrow%3C%2Ftitle%3E%3Cg%20fill%3D%22%23818181%22%3E%3Cpath%20d%3D%22M10.293%2C3.293%2C6%2C7.586%2C1.707%2C3.293A1%2C1%2C0%2C0%2C0%2C.293%2C4.707l5%2C5a1%2C1%2C0%2C0%2C0%2C1.414%2C0l5-5a1%2C1%2C0%2C1%2C0-1.414-1.414Z%22%20fill%3D%22%23818181%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E");
    background-position: center;
    background-size: 10px;
    background-repeat: no-repeat;
}

.search-container ul {
    position: absolute;
    list-style: none;
    padding: 0;
    z-index: 3;
    margin-top: 29px;
    width: 100%;
    right: 0px;
    background: var(--color-header);
    border: var(--color-form);
    border-top: none;
    border-bottom: none;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

.search-container ul :focus {
    outline: none;
}

.search-container ul li {
    display: block;
    text-align: left;
    padding: 8px 29px 2px 12px;
    border-bottom: thin solid rgba(255, 255, 255, 0.092);
    font-size: 14px;
    min-height: 31px;
}

.search-container ul li:first-child {
    border-top: thin solid rgba(255, 255, 255, 0.092);
    border-radius: 4px 0px 0 0;
}

.search-container ul li:last-child {
    border-radius: 4px 0px 0 0;
}


.search-container ul li:hover.not-cursor {
    cursor: default;
}

.search-container ul li:hover {
    /* color: #333; */
    background-color: #1e1e21;
    cursor: pointer;
}

/* Adding scrool to select options */
.autocomplete-list {
    max-height: 140px;
    overflow-y: auto;
}















/* Chapter page */

header#chapter_page {
    height: 48px;
    transition: top 0.045s ease-in-out;
}

footer#chapterPageFooter {
    position: fixed;
    padding: 0 15px;
    height: 48px;
    left: 50%;
    bottom: 10px;
    transform: translate(-50%, 0);
    border-radius: 8px;
    width: fit-content;
    min-width: 350px;
    z-index: 5;
    transition: all 0.045s ease-in-out;
}


header#chapter_page .logo_image{
    max-width: 27px;
    max-height: 27px;
}

header#chapter_page .header_block, header#chapter_page .header_left_block {
    margin: 0;
    width: 30%;
}

header#chapter_page .header_left_block {
    display: flex;
    flex-direction: row;
    width: 45%;
}

header#chapter_page .header_center_block {
    width: 40%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

header#chapter_page .header_right_block {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    width: 45%
}

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

.pages_placer {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    width: 100%;
    max-width: 900px;
}

.chapter_page_image {
    max-width: 100%;
    display: block;
    margin: 0 auto;
    padding: 0;
    min-height: 220px;
    background-color: #18181b;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.to_title_text_butt {
    display: flex;
    align-items: center;
    color: #939393;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: .775rem;
    font-family: Exo\ 2,Roboto,-apple-system,Nunito Sans,SF Pro Text,SF Pro Icons,Segoe UI,Helvetica Neue,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
    font-weight: 500;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 380px;
    transition: all .14s linear;
    margin: 12px;
}
.main_text_animate:hover .to_title_text_butt {
    color: var(--color-selection);    
}

#texted_to_title .to_title_text_butt{
    margin: 0; 
    padding: 0 10px;
}

.main_text_animate:hover .chapter_controls_arrows {
    fill: var(--color-selection)!important;
}

.header_center_bottom_block {
    width: 100%; 
    justify-content: space-around; 
    margin-top: 15px;
}
.header_center_bottom_block .to_title_text_butt {
    margin: 0;
    font-size: .85rem;
}



.chapters_menu{
    display: block;
    position: fixed;
    transition: .2s ease width;
    height: 100vh;
    width: 0;
    z-index: 6;
    top: 0;
    transform: translateX(calc(100vw - 100%));
    white-space: nowrap;
    color: white;
    background-color: #141416;
    overflow: hidden;
    box-shadow: 0px 8px 15px 0px rgba(0, 0, 0, 0.25)
}
.chapters_menu--show{
    width: 300px;
    transition: .3s ease width;
}


.mobile_menu_inner{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.mobile_menu_header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 40px;
    font-size: 14pt;
    font-weight: 600;   
    margin-bottom: 35px;
    padding: 15px 13px;
    padding-top: 25px;
    padding-right: 8px;
}
.close_menu_button{
    /* content: ""; */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    border-radius: 6px;
    background-color: #20202a;
}
.close_menu_button::before{
    position: absolute;
    content: "";
    height: 15px;
    width: 3px;
    border-radius: 3px;
    background-color: #ffffff;
    transform: rotate(45deg)
}
.close_menu_button::after{
    position: absolute;
    content: "";
    height: 15px;
    width: 3px;
    border-radius: 3px;
    background-color: #ffffff;
    transform: rotate(-45deg)
}

.menu_butts_block{
    display: flex;
    flex-direction: column;
}
.important_menu_butts_block{
    margin-bottom: 15px;
}

.menu_button_placer{
    margin-bottom: 10px;
}
.menu_button{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 40px;
    /* background-color: #383535; */
    font-size: .95rem;
    /* border-radius: 6px; */
    font-weight: 500;
    padding: 26px 25px;
    transition: .03s ease-in-out all;
}

.menu_button:hover {
    background-color: #5951b3;
}

.mobile_menu_svg svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.log_menu_button{
    background-color: #e73570;
}








#vertical_manga_list {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

#vertical_manga_list .carousel_element {
    width: calc(100% / 7);
    height: max-content;
    min-width: 10px !important;
    min-height: 10px !important;
    max-width: none;
    max-height: none;
}    











.sorry_image_placer {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh; /* Занимаем всю высоту окна просмотра */
    width: 100%;
    max-width: 630px;
    overflow: hidden; /* Скрыть обрезанные части изображения */
  }
  
  .sorry_image {
    background-size: contain; /* Размер изображения адаптируется так, чтобы оно полностью поместилось */
    background-repeat: no-repeat;
    background-position: center top;
    width: 100%; /* Ограничение ширины, чтобы изображение не выходило за пределы контейнера */
    height: 100%; /* Ограничение высоты, чтобы изображение не выходило за пределы контейнера */
  }














.popup_overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.popup {
    position: relative;
    background-color: #121215;
    border: thin solid #6053f0;
    padding: 5px;
    border-radius: 8px;
    max-width: 80%;
    max-height: 80%;
    filter: drop-shadow(0 0 9px #000000);
    overflow-x: hidden;
    overflow-y: auto;
}

.popup_close_button_placer {
    position: sticky;
    top: 0px;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.popup_close_button {
    border: thin solid #6053f0;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background-color: #18181a;
    filter: drop-shadow(7px 5px 9px #000000);
    transition: all 0.08s linear;
}

.popup_close_button:hover {
    cursor: pointer;
    background-color: #252528;
}


.popup_close_button::before,
.popup_close_button::after {
    transition: all 0.08s linear;
}



.popup_close_button:hover::before,
.popup_close_button:hover::after {
    background-color: #ff6767;
}

.popup_close_button::before{
    position: absolute;
    content: "";
    height: 15px;
    width: 3px;
    border-radius: 3px;
    background-color: #ffffff;
    transform: rotate(45deg)
}
.popup_close_button::after{
    position: absolute;
    content: "";
    height: 15px;
    width: 3px;
    border-radius: 3px;
    background-color: #ffffff;
    transform: rotate(-45deg)
}





.popup_content {
    width: 100%;
    max-width: 550px;
    height: 100%;
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    font-size: .9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-top: -35px;
}







.cards_placer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

.card_el {
    height: max-content;
    width: 300px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    border: 1px solid #6053f0;
    border-radius: 5px;
    margin: 0 20px;
    margin-bottom: 55px;
    opacity: .95;
    transition: all .08s linear;
}

.card_el:hover {
    cursor: pointer;
    transform: scale(1.1);
    opacity: 1;
}

.card_price {
    font-size: 2.1rem;
    color: #6053f0;
    margin: 0 auto;
}

.card_name {
    border-top: thin solid #6053f0;
    margin-top: 25px;
    padding: 15px;
    padding-top: 20px;
    width: 100%;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
}

.card_info_placer {
    height: max-content;
    width: fit-content;
    margin: 0 auto;
    /* padding-left: 10%; */
}

.card_info {
    display: flex;
    align-items: center;
    position: relative;
    color: rgba(255, 255, 255, 0.642);
    font-weight: 300;
    font-size: 1rem;
    margin-bottom: 9px;
}
.card_info::before {
    content: "";
    display: block;
    left: 0;
    width: 5px;
    height: 5px;
    margin-right: 11px;
    border-radius: 100%;
    background: rgba(255, 255, 255, 0.642);
}












.popup_open_button {
    cursor: pointer;
}


#copy_button {
    font-family: monospace; 
    font-weight: 700; 
    font-size: 1.135rem;
    color: #6053f0;
    transition: all .08s linear;
}

#copy_button svg {
    width: 25px;
    height: 25px;
    fill: #6053f0;
    margin-left: 7px;
    transition: all .08s linear;
}


#copy_button:hover {
    cursor: pointer;
    color: #b0a9ff;
} 
#copy_button:hover svg {
    fill: #b0a9ff;
} 

















@keyframes color-flicker {
    0%, 100% {
      color: #fff;
    }
    
    50% {
      color: #796ef5;
    }
  }
  
  .color-flickering-text {
    animation: color-flicker 2s infinite;
  }


  @keyframes color-flicker-red {
    0%, 100% {
      color: #fff;
    }
    
    50% {
      color: #ff7676;
    }
  }
  
  .color-flickering-text-red {
    animation: color-flicker-red 2s infinite;
  }
  


















.default-label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    padding: 2px 7px;
}








.mobile_menu {
    display: none;
}

#symbol_to_title {
    display: none;
}







.switch-placer {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding-top: 10px;
    padding-left: 10px;
}

.switch-text {
    font-size: 10.5pt;
    color: #939393;
}


.switch {
    position: relative;
    width: 40px;
    height: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.switch::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 4px;
    background: #404040;
    border-radius: 6px;
    left: 4px;

    transition: background .4s;
}

.switch.active::before {
    background: #5648b2;
    transition: background .2s;
}

.switch.disabled {
    /* cursor: not-allowed; */
    /* opacity: 0.6; */
}

.switch-handle {
    position: absolute;
    left: 0;
    width: 16px;
    height: 16px;
    background: #2d2d2d;
    border-radius: 50%;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    z-index: 1;
}

.switch.active .switch-handle {
    left: 22px;
    background: #5648b2;
}



















@media (max-width: 1130px) {
    #vertical_manga_list .carousel_element {
        width: calc(100% / 6);
    }    
}


@media (max-width: 1050px) {


    /* Header */
    .logo_image{
        max-width: 28px;
        max-height: 28px;
    }
    .center_button{
        display: none;
    }
    .search_placer{
        width: 100%;
        margin-right: 10px;
    }
    .toggle_block{
        display: flex;
        margin-left: 30px;
        margin-right: 5px;
    }
    .notif_butt_desktop {
        display: none;
    }
    .notifications_bell_button {
        padding: 2px 6px;
    }
    .notifications_bell_svg_base {
        width: 19px;
        height: 19px;
    }

    .header_right_block {
        display: none;
    }
    header#chapter_page .header_right_block {
        display: none;
    }


    /* mobile menu */

    .mobile_menu_overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
        z-index: 150;
    }

    .mobile_menu{
        display: block;
        position: fixed;
        transition: .2s ease width;
        height: 100%;
        width: 75%;
        max-width: 280px;
        top: 0;
        right: -300px;
        white-space: nowrap;
        color: white;
        background-color: #1e1e1e;
        overflow: hidden;
        transition: right 0.3s ease;
        z-index: 200;
    }
    .mobile_menu.active{
        right: 0;
    }

    .mobile_menu_overlay.active {
        opacity: 1;
        visibility: visible;
    }

    



    header#chapter_page .toggle_block {
        width: fit-content;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        width: 45%;
    }






    .big_carousel{
        padding-top: 0;
    }
    .block_headline{
        font-size: 1.05rem;
    }






    /* main container */
    .content_block{
        padding: 0 3px;
    }




    .base_form{
        width: 70%;
    }



    #texted_to_title {
        display: none;
    }


    #symbol_to_title {
        display: block;
        height: 22px;
    }
    
    .symbol_to_title_butt_svg {
        width: 22px;
        height: 22px;
        fill: #939393;
        transition: all .08s linear;
    }

    .symbol_to_title_butt_svg:hover {
        fill: var(--color-selection);
    }




    .title_left_profile_row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

}

@media (max-width: 970px){
    #vertical_manga_list .carousel_element {
        width: calc(100% / 5);
    }




    .horizontal_title_info_xp_received {
        flex-direction: column;
        width: min-content;
        font-weight: 500;
        font-size: 11pt;
        justify-content: center;
        text-align: center;
    }
    .horizontal_title_info_xp_received span {
        display: block;
    }

}

@media (max-width: 806px){
    #vertical_manga_list .carousel_element {
        width: calc(100% / 4);
    }
}

@media (max-width: 800px){

    .footer_inner{
        flex-direction: column;
    }

    .foot_space{
        flex-direction: column;
        justify-content: space-around;
        width: 100%;
        margin-bottom: 25px;
    }

    .foot_space > div {
        margin-bottom: 25px;
    }

    .right_space{
        width: 100%;
        justify-content: space-around;
    }
    .footer_col{
        display: flex;
        flex-direction: column;
        justify-content: left;
        height: fit-content;
        width: fit-content;
    
        margin-right: 0;
    }



    
    .base_form{
        width: 94%;
    }



    .title_contents_placer{
        padding-top: 25px;
        flex-direction: column;
    }
    .left_row{
        width: 100%;
        margin-top: -65px;
    }
    .right_items_grid{
        width: 100%;
        padding-left: 5px;
    }
    .title_left_row{
        width: 100%;
        position: relative;
    }

    .chapters_container{
        padding-right: 8px;
    }


}


@media (max-width: 760px) {
    .content_block { 
        padding: 0 2px;
    }

    header{
        height: 48px;
        padding: 0 10px;
    }
    
    .logo_fox{
        padding-right: 1px;
    }

    .search_placer{
        margin-right: 4px;
        height: 65%;
    }
    .search_icon_placer{
        padding-left: 7px;
    }
    .search_input{
        font-weight: 600;
        padding: 8px 6px;
        font-size: 11pt;
    }
    .search_input::-webkit-input-placeholder {
        color: #ffffffc5;
        font-size: 9pt;
     }


    .logo_placer{
        font-size: 13pt;
        margin-right: 2px;
        /* margin-left: 6px; */
    }
    .header_right_block{
        display: none;
    }
    header#chapter_page .header_right_block{
        display: none;
    }
    .toggle_block{
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 20px;
        /* margin-right: 15px; */
    }

    .header_center_bottom_block {
        justify-content: space-between;
        padding: 0 10px;
    }
    .header_center_bottom_block .to_title_text_butt {
        font-size: .75rem;
    }
    
    .main_carousel{
        padding-top: 62px;
    }




    /* Mobile menu */
    .mobile_menu--show{
        width: 70%;
    }
    .important_menu_butts_block{
        display: flex;
    }









    /* Carousel */

    .carousel_element{
        min-width: 140px;
        min-height: 287px;
    }
    .secondary_carousel > .carousel_element{
        min-width: 140px;
        min-height: 225px;
        height: 290px;
    }
    .title_box{
        padding: 4px;
    }
    .title_image_place{
        height: 70.641791044776%;
    }
    .title_type{
        font-size: 8.5pt;
        padding-bottom: 2.5px;
    }
    .title_name{
        font-size: 9.5pt;
    }

}

@media (max-width: 570px) {
    #vertical_manga_list .carousel_element {
        width: calc(100% / 3);
    }
}





.toast-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}

.toast {
    position: relative;
    min-width: 300px;
    max-width: 500px;
    margin: 10px;
    padding: 15px 40px 15px 15px;
    border-radius: 8px;
    background: #1a1a1a;
    color: #e1e1e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-family: Arial, sans-serif;
    animation: slideIn 0.3s ease-out;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    border: 1px solid #333;

    background: #1a1a1a;
    color: #e1e1e1;
    border: 1px solid #333;
}

.toast.removing {
    animation: slideOut 0.3s ease-out forwards;
}

.toast-default {
    background: #1a1a1a;
    color: #e1e1e1;
    border: 1px solid #333;
}

.toast-error {
    background: #2d1818;
    color: #ff6b6b;
    border: 1px solid #543030;
}

.toast-success {
    background: #182818;
    color: #4caf50;
    border: 1px solid #305430;
}

.toast-warning {
    background: #2d2618;
    color: #ffd700;
    border: 1px solid #544830;
}

.toast-content {
    margin-right: 20px;
}

.toast-close {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #888;
    opacity: 0.7;
    padding: 0 5px;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.toast-close:hover {
    opacity: 1;
    color: #e1e1e1;
}

.toast-options {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.toast-button {
    padding: 6px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background: #333;
    color: #e1e1e1;
    font-size: 14px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.toast-button:hover {
    background: #444;
    transform: translateY(-1px);
}

.toast-button[data-action="confirm"] {
    background: #1a472a;
}

.toast-button[data-action="confirm"]:hover {
    background: #245d37;
}

.toast-button[data-action="cancel"] {
    background: #333;
}

.toast-button[data-action="cancel"]:hover {
    background: #444;
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

























/* Для комментов */

.title_head_description--show{
    max-height: 1500px !important;
    transition: .55s ease max-height;
}


#comments_rules {
    overflow: hidden;
    color: rgba(235, 235, 235, .9);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    width: 100%;
    max-height: 0;
}

#comments_rules > div {
    /* color: rgba(235, 235, 235, .9); */
    color: #939393;
    font-size: .9rem;
    line-height: 1.4;
}

#comments_rules > div > span {
    padding-right: 5px;
}

.nested-comment {
    padding-left: 20px;
    border-left: thin solid hsla(0,0%,59%,.1);
}

.reply-button {
    transition: .07s color;
    width: min-content;
    display: inline-flex;
}
.reply-button:hover {
    cursor: pointer;
    color: #514793;
}



.nested-comment-form-placer {
    margin-top: 10px;
    border: thin solid hsla(0,0%,59%,.1);
    border-radius: 4px;
    padding: 5px;
}

.nested-comment-form-textarea {
    margin-bottom: 10px;
}

.nested-comment-form-options-line {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.nested-comment-form-options-line > div {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.nested-comment-form-options-line .reply-button {
    display: flex;
    align-items: center;
}

.nested-comment-submit {
    background-color: #5648b2;
    border-radius: 6px;
    border: none;
    padding: 9px 10px;
    cursor: pointer;
    font-weight: 400;
    letter-spacing: 0.5px;
    font-size: 14px;
    text-align: center;
}

.nested-comment-submit:hover {
    background-color: #735eff;
}












.comment-menu-button {
    cursor: pointer;
    padding: 5px 10px;
    display: inline-flex;
    align-items: center;
    opacity: 0.7;
    transition: opacity 0.09s;
}

.comment-menu-button:hover {
    opacity: 1;
}

.menu-dots {
    width: 4px;
    height: 4px;
    background-color: #888;
    border-radius: 50%;
    margin: 0 1px;
    display: inline-block;
}

.comment-menu {
    position: absolute;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    min-width: 180px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.09s ease-in-out;
}

.comment-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.menu-item {
    padding: 10px 15px;
    cursor: pointer;
    color: #e0e0e0;
    font-size: 14px;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-item:first-child {
    border-radius: 8px 8px 0 0;
}

.menu-item:last-child {
    border-radius: 0 0 8px 8px;
}

.menu-item:hover {
    background-color: #3a3a3a;
}

.menu-item svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}







.admin-action {
    color: #ff4444;
    font-weight: bold;
}



.edit-form {
    margin: 10px 0;
}
.edit-form textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
}


.load-more-button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.load-more-button:hover {
    background-color: #e0e0e0;
}























.report-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.report-dialog-content {
    background: #1a1a1a;
    color: #e1e1e1;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
}

.report-dialog-content h3 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
}

.report-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.report-select, .report-textarea {
    padding: 8px;
    background: #2a2a2a;
    border: 1px solid #404040;
    border-radius: 4px;
    width: 100%;
    color: #e1e1e1;
    transition: border-color 0.2s ease;
}

.report-select:focus, .report-textarea:focus {
    border-color: #4a9eff;
    outline: none;
}

.report-select option {
    background: #2a2a2a;
    color: #e1e1e1;
}

.report-textarea {
    min-height: 100px;
    resize: vertical;
}

.report-textarea::placeholder {
    color: #888;
}

.report-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 5px;
}

.report-cancel, .report-submit {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.report-cancel {
    background: #333;
    color: #e1e1e1;
}

.report-cancel:hover {
    background: #444;
}

.report-submit {
    background: #0066cc;
    color: white;
}

.report-submit:hover {
    background: #0077ee;
}

.report-submit:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
}

/* Dark scrollbar for textarea */
.report-textarea::-webkit-scrollbar {
    width: 8px;
}

.report-textarea::-webkit-scrollbar-track {
    background: #2a2a2a;
}

.report-textarea::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

.report-textarea::-webkit-scrollbar-thumb:hover {
    background: #555;
}











.tier-header {
    width: fit-content;
    margin: 10px 0;
    margin-top: 15px;
    margin-left: 15px; 
    font-size: 1.25rem; 
    
    color: #7d71ff; 
}

.items-block-placer {
    display: flex;
    /* justify-content: space-between; */
    flex-wrap: wrap;
    margin: 0 -10px;
    margin-bottom: 35px;
    padding-top: 15px;
    gap: 25px 10px;
}

.item-block {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 200px;
    /* flex: 1 0 auto; */
    max-width: unset;
    max-height: unset;
    margin: 0 10px 20px 10px;
    border-radius: 8px;
    transition: transform 0.3s;
    cursor: pointer;
}

.item-block:hover {
    transform: scale(1.1);
}

.item_image > img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block;
}


.item_header {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: hsla(0,0%,59%,.1);
    padding: 12px;
    border-radius: 10px 10px 0 0;
}

.item_body {
    background: #1b1b1b;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 0 0 10px 10px;
}

.item_image {
    position: relative;
}

.item_image img {
    border-radius: 12%;
}

.item_type {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: hsla(0,0%,100%,.6);
    text-align: center;
    margin-bottom: 8px;
}

.item_price {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: hsla(0,0%,100%,.6);
    font-weight: 600;
}


.gem-img {
    display: inline-flex;
    width: 23px;
    height: 23px;
}











.scrollable-menu {
    overflow: hidden;
    overflow-x: auto; 
    padding-bottom: 5px;
}

.scrollable-menu > .tabsmenu {
    width: max-content;
}


@media (max-width: 760px) {

    .items-block-placer {
        justify-content: space-evenly;
    }

}







.close-button {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
  }
  
  .cross {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
  }
  
  .cross::before,
  .cross::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: red;
  }
  
  .cross::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  
  .cross::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }








  .left-hr {
    width: 1px !important;
    background: #cbc7fc3b;
    padding: 0 !important;
}




.gem-img {
    width: 20px;
    height: 20px;
}









.user_bages_placer {
    margin-top: 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 10px;
}

.user_bage {
    display: flex;
    align-items: center;
    font-size: .95rem;
    border-radius: 6px;
    padding: 4px 6px;
    border: thin solid #cbc7fc3b;
    color: hsl(0 0% 100%/77%);
    background-color: color-mix(in oklab, hsl(240 3.7% 10%) 50%, transparent);
}

.user_bage span {
    padding-right: 4px;
    font-size: .85rem;
}














.profile-wallpaper-placer {
    position: absolute; 
    width: 100vw; 
    height: 700px;
}

.profile-wallpaper-video {
    width: 100%; 
    max-height: 100%;
    object-fit: cover;
}

.profile-wallpaper-blackout {
    position: absolute; 
    width: calc(100vw + 1px); 
    height: calc(100% + 6px); 
    top: -5px; 
    left: 0;
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .6), rgba(0, 0, 0, .8), var(--color-body));
}

@media (max-width: 760px) {
    .profile-wallpaper-placer {
        height: 450px;
    }

    .profile-wallpaper-blackout {
        background: linear-gradient(rgba(0, 0, 0, .1), #1212158b, #121215c6, var(--color-body));
    }

    .profile-wallpaper-video {
        height: 100%;
    }

    .menu-padding {
        height: 49px !important;
    }
}





