/* page */
table, .table{
    color: inherit;
}

.box-wrapper .page{
    max-width: 100%;
}

.page{
    position: relative; 
    min-width: 0;
    flex: 1;
    gap: 15px;
    display: flex;
    flex-direction: column;
    padding: 15px 15px 15px;
    /* background-color: var(--main-div); */
}

.page-heading {
    display: flex;
    align-items: center;
    padding: 0px 0px 0px 0px;
}

/* text */
.page .text{
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: calc(100% + 1px);
}

/* .page-background */
.page-background{
    display: flex;
    align-items: center;
    position: relative;
    width: calc(100% + 30px);
    min-height: 200px;
    border-radius: var(--br-alt);
    overflow: hidden;
}

.page-background .page-background-img{
    width: 100%;
    height: 100%;
    min-height: inherit;
    overflow: hidden;
    border-radius: 0px;
    position: relative;
    z-index: auto;
}

.page-background .page-background-img > div {
    background-size: initial;
    width: 100%;
    height: 100%;
    background-position: center;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-background .item-group{
    position: absolute;
    top: 15px;
    right: 15px;
}

.page-title-icon{
    width: 185px;
    height: 125px;
    background-image: url(/images/jenres/book.svg);
    background-repeat: no-repeat;
    background-size: 80%;
    flex-shrink: 0;
    background-position: center;
}

.page-heading img{
    width: 80px;
    margin-top: 0px;
    position: relative;
    left: 90px;
}

.page-title{
    padding: 0px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.heading-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.h-one{
    display: flex;
    align-items: center;
    gap: 5px;
}

.heading-button{
    display: flex;
    gap: 5px;
}

.page-body{
    display: flex;
    width: 100%;
    gap: 15px;
    position: relative;
}

.page-top {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    z-index: 0;
}

.page-left{
    width: var(--sidebar-l);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    gap: 15px;
}

.page-right{
    width: 100%;
    min-width: 0; 
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.block-left, .block-right {
    gap: 15px;
    display: flex;
    flex-direction: column;
}

.block-left{
    flex: 1;
}

.block-right {
    flex: 4;
}

.block-left > form, .block-right > form{
    gap: 15px;
    display: flex;
    flex-direction: column;
}

.block-left .form-check, .block-right .form-check{
    align-items: center !important;
}

.two-col{
    display: flex;
    gap: 15px; 
}

.two-col > div{
    display: flex;
    width: 100%;
    flex-shrink: 1;
    flex-grow: 0;
    flex-direction: column;
}

.two-col > div:nth-child(1){
    max-width: var(--sidebar-l);
    min-width: var(--sidebar-l);
}

.two-col > div .item{
    box-shadow: var(--shadow-0);
    padding: 0px !important;
    background-color: transparent !important;
}

.two-col > div .view-grid .card-book {
    max-width: calc((100% / 5) - 12px);
}


.two-col > div .item .item-images{
    margin: 0px !important;
}

.two-col > div .card-book .item-buttons{
    padding: 0;
}

.two-col > div .view-grid .item .item-images{
    width: calc(100% + 0px);
    max-width: calc(100% + 0px);
}

.two-col > div .item .item-user.mini{
    display: none;
}

.page-content{
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0px 0px;
}

.page-bottom{
    padding: 15px 20px;
    background: var(--main-div);
    margin: 0px 0px 15px;
}

/* main-page */
.p-main{
    gap: 35px;
}

.p-main .div-item{
    box-shadow: var(--shadow-0);
    border-radius: 0;
    background-color: transparent;
    padding: 0;
    gap: 25px;
}

.p-main .div-item > .item-name{
    font-size: calc(100% + 2px);
}

/* user-page */
.p-user{

}

.user-content{
    display: flex;
    gap: 15px;
}

.user-content >div:nth-child(1){
    
}

.x-more{
    transition: all 0.4s ease-in-out;
    position: relative;
}

.x-more .x-tab-menu{
    display: none;
    position: absolute;
    flex-direction: column;
    background: var(--main-div);
    z-index: 3;
    border-radius: var(--br-main);
    box-shadow: var(--box-shadow-l);
    padding: 5px;
    right: 0;
    transition: 0.4s ease-in-out;
    margin-bottom: -10px;
}

.x-more:hover .x-tab-menu{
    display: flex; 
    margin-bottom: 0px;
}

.x-more > a > i{
    display: flex !important;
    font-size: 8px;
    height: 100%;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-weight: bold;
}

.x-more > a:hover > i{
    transform: rotateX(180deg);
}

.p-user-head-top {
    flex-direction: row;
    display: flex;
    height: 220px;
    gap: 15px;
}

.p-user-head-top .set-btn{
    display: none;
}

.p-user-head-top:hover .set-btn{
    display: flex;
}

.p-user-head .p-user-head-top{
    width: calc(100% + 30px);
    margin: -15px 0px 0px -15px;
    z-index: 0;
}

.p-user-head .page-background{
    border-radius: 0px;
}

.p-user-head-top .swiper{
    width: auto;
    flex-shrink: 0;
}

.p-user-head-top .b-card .item-images{
    max-width: 144px;
}

.p-user-head-top .b-card .item-center{
    display: none;
}

.p-user-head h1{
    font-size: 25px;
}

.p-user-head-bottom{
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 15px;
}

.p-user .tab-menu i{
    display: none;
}

.p-user .gift-user{
    align-items: center;
    display: flex;
    justify-content: center;
}

.p-user .gift-user .div-item-users{
    padding: 10px;
    border-radius: var(--br-main);
}

.p-user .gift-user .div-item-users .space-between a{
    border-radius: var(--br-main);  
}

.p-user .two-col > div:nth-child(1){
    margin-top: 0px;
    align-items: baseline;
    z-index: 1;
    position: sticky;
    top: 74px;
    height: max-content;
}

.p-user .two-col > div:nth-child(2) .tab-menu {
    position: sticky;
    top: 60px;
    background-color: #ffffff;
    margin-left: -15px;
    padding: 4px 15px;
    width: calc(100% + 30px);
    z-index: 1;
}

.p-user .two-col > div:nth-child(1) .item-images.user{
    width: calc(100% + 0px);
    max-width: 320px;
    margin-top: -100px;
    padding: 0px;
    background-color: transparent;
}

.p-user .two-col > div:nth-child(1) .item-images.user .item-cover a{
    border-radius: 50%;
    border: 0px solid black;
    box-shadow: var(--box-shadow-l);
    border: 4px solid;
}

.p-user .two-col > div:nth-child(1) .item-images.user .item-user-status{
    left: 10px;
    top: 10px;
    font-size: 25px;
}

.p-user .two-col > div:nth-child(1) .item-images.user .item-cover-bottom{
    justify-content: center;
    bottom: -22px;
}

.p-user .two-col > div:nth-child(1) .item-images.user .item-online{
    position: relative;
    background-color: gray;
    height: 15px;
    color: white;
    width: 15px;
    border: 2px solid white;
    box-shadow: var(--box-shadow-l);
}

.p-user .two-col > div:nth-child(1) .item-name h1{
    width: 100%;
    text-align: center;
}

.p-user .user-info{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.p-user .user-info .item-name{
    width: 100%;
    text-align: center;
}

.p-user .div-counters{
    width: 100%;
    display: flex;
    gap: 15px;
}

.p-user .div-counter{
    flex: 1;
    flex-direction: column-reverse;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 5px;
    box-shadow: var(--box-shadow-l);
}

.p-user .div-counter b{
    
}

.p-user .div-counter span{
    display: none;
}

.p-user .div-counter i{
    font-size: 20px;
    opacity: 0.6;
}

.p-user .user-metrics .item-top{
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.p-user .user-metrics .item-group{
    flex: 1;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 5px;
    /* box-shadow: var(--box-shadow-l);  */
}

.p-user .user-metrics .item-group b{
    
}

.p-user .user-metrics .item-group span{
    display: none;
}

.p-user .user-metrics .item-group i{
    /* font-size: 20px; */
    opacity: 0.5; 
}

.remind-pass{

}

.remind-pass form{
    width: 100%;
    max-width: 500px;
}

.my-add-pay-gift > span{
    font-weight: 600;
    padding: 0px 0px 10px;
    display: flex;
}

.my-add-pay-gift .btn-group{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.modal-payment.modal-add-gift .gift-block span{
    margin: 0px 0px 0px 50px;
    z-index: 1;
}

/* modal achiv */
.modal-achievement{
    max-width: 430px;
}

.modal-achievement .modal-header{
    align-items: center;
    text-align: center;
    justify-content: center;
    padding: 0px;
}

.modal-achievement .achiv-lent{
	filter: drop-shadow(2px 3px 2px rgba(0, 0, 0, 0.5));
}

.modal-achievement .achiv-lent span {
	display: block;
	color: #fff;
	font-size: 16px;
	text-align: center;
    padding: 0px 26px;
	background: #9509cf;
	line-height: 56px;
	clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 85%, 0 100%);
}

#hexagon {
    width: 220px;
    height: 120px;
    background: #00000014;
    position: relative;
    top: 85px;
    color: #00000014;
    margin-bottom: -75px;
}

#hexagon:before {
    content: "";
    position: absolute;
    top: -60px;
    left: 0;
    width: 0;
    height: 0;
    border-left: 110px solid transparent;
    border-right: 110px solid transparent;
    border-bottom: 60px solid;
    color: inherit;
}

#hexagon:after {
    content: "";
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 0;
    height: 0;
    border-left: 110px solid transparent;
    border-right: 110px solid transparent;
    border-top: 60px solid;
}

.modal-achievement .modal-body{
    position: relative;
    overflow: hidden;
    flex-direction: column;
    display: flex;
    align-items: center;
}

.modal-achievement .modal-body img{
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
    filter: drop-shadow(2px 3px 2px rgba(0, 0, 0, 0.5));
}

.modal-achievement .modal-body .achiv-infos{
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-achievement .modal-body canvas{
    position: absolute;
    overflow: hidden;
    opacity: 0.6;
    width: 200%;
    z-index: 1;
}

/* add audiobook */
.add-h-books{
    position: relative;
    display: flex;
    background: #fe521a;
    border-radius: var(--br-main);
    padding: 0px;
    margin-right: 5px;
}

.add-h-books > button{
    margin: 0px;
    border-radius: 30px 0px 0px 30px;
}

.add-h-books .item-menu > button{
    position: relative;
    top: 0;
    left: auto;
    right: auto;
    width: 36px;
    height: 36px;
    background:#fe521a;
    border-radius: 0px 30px 30px 0px;
    margin: 0px;
}

.add-h-books .item-menu{
    border-left: 3px solid #ffffff75;
}


/* page-book */
.p-book{
    padding-top: 15px;
}

.p-book .p-book-head{
    flex-direction: row;
    padding: 0px;
    box-shadow: var(--shadow-0);
    padding-bottom: 20px;
}

.p-book .book-name{
    font-size: 21px;
    font-weight: 800;
}

.p-book .page-background{
    display: none;
}

.p-book .item.big .item-center .item-top{
    gap: 10px;
}

.p-book .page-right .tab-pane .book-buttons{
    flex-direction: row;
}

.p-book .page-right .tab-pane .book-buttons .full{
    width: auto;
}

.p-book .page-right .tab-pane .book-buttons .block-buy{
    display: none;
}

.p-book .card-book.big .book-buttons .book-btns{
    display: none;
    justify-content: center;
    gap: inherit;
}

.p-book .book-btns{
    width: 100%;
    flex-direction: row;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.p-book .book-btns .item-menu{
    position: relative;
    top: 0;
    right: 0;
}

.p-book .book-btns .item-menu > button{
    min-width: 40px;
    height: 40px;
    padding: 13px;
}

.p-book .card-book.big .book-buttons .read-btns,
.p-book .card-book.big .book-buttons .read-btns > button{
    width: 100%;
}

.p-book .card-book.big .book-buttons .read-btns > button{
    background-color: var(--bg-secondary);
    color: white;
}

.p-book .card-book.big .book-buttons .bbx-f,
.p-book .card-book.big .book-buttons .bbx-f > button,
.p-book .card-book.big .book-buttons .item-menu,
.p-book .card-book.big .book-buttons .item-menu > button{
    flex: 1;
    width: 100%;
}

.p-book .card-book.big .book-buttons .read-btns > button,
.p-book .card-book.big .book-buttons .bbx-f > button,
.p-book .card-book.big .book-buttons .item-menu > button,
.p-book .card-book.big .book-buttons .block-buy > button{
    height: 50px;
    border-radius: var(--bg-alt);
}

.p-book .card-book.big .book-buttons .read-btns > button:hover,
.p-book .card-book.big .book-buttons .bbx-f > button:hover,
.p-book .card-book.big .book-buttons .item-menu > button:hover{
    border-color: var(--bg-secondary);
    background-color: var(--bg-secondary);
    color: white;
}

.block-buy{
    display: flex;
    flex-direction: row-reverse;
    height: auto;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
    padding: 0px;
    flex-shrink: 0;
}

.block-buy button, .block-buy a{
    width: 100%;
    gap: 5px;
}

.block-buy .best-prise{
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: fit-content;
    flex-shrink: 0;
    padding: 0px 7.5px;
    height: 100%;
}

.block-buy .normal-prise{
    display: flex;
    font-size: calc(100% + 2px);
    gap: 1px;
    align-items: center;
}

.block-buy .normal-prise i{
    font-size: calc(100% - 4px);
}

/* page doc */
.ul-doc-file{
	width: 100%;
    display: flex;
    margin: 30px 0px;
}

.ul-doc-file li span{
    width: 58px;
    display: flex;
    align-items: center;
    text-align: center;
    margin: 8px 0px 0px;
}

.ul-doc-file li a{
	width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0px 13px;
}

/* page jenres */
.jenre-descr{
    margin-bottom: 15px;
}

.p-jenres .ul-column{
    margin-bottom: 15px;
}

.jenres-book{
    margin-top: 15px;
}

.jenres-b-card{
    max-width: 120px;
    box-shadow: var(--box-shadow-l);
    border-radius: var(--br-alt);
    overflow: hidden;
}

.jenres-b-card img{
    width: 100%;
}


/* page tags */

/* page cycle */
.p-cycles{

}

/* page chat */
.chat{
    height: calc(55vh + 15px);
    overflow: auto;
}

.chat .items{
    align-items: center;
}

.chat .items .div-sticky{
    top: 0;
}

.chat-content{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-content .card-container{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.chat-content .card-container > div{

}

.chat-content .message-date{
    display: flex;
    justify-content: end;
    padding: 5px 0px 15px;
}

/* page blog */
.p-blog{

}

.p-blog .div-img{
    display: flex;
    justify-content: center;
    padding: 50px 15px;
    background: #4943aa3b;
    border-radius: 15px;
}

.p-blog .div-img img{
    box-shadow: var(--box-shadow-l);
    width: auto;
    max-height: 380px;
    max-width: 100%;
    border-radius: inherit;
    cursor: pointer;
}

/* p-page */
.p-page img{
    width: auto;
    max-width: 100%;
    height: auto;
    box-shadow: var(--box-shadow-l);
    border-radius: var(--br-main);
    margin: 15px 0px;
}

/* p-community */
.p-community{
 
}

/* page reader */
.reader-body{
    background: unset;
}

.p-reader{
    background-color: inherit;
    user-select: none;
}

.reader-page .reader-img{
    width: 100%;
    text-align: center;
    padding: 15px;
    text-indent: 0;
}

.reader-page .reader-img img{
    max-width: 100%;
    max-height: 500px;
    height: auto;
}

.settings-reader{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.settings-reader-group{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.settings-reader-group > div:nth-child(1){

}

.sel-it{
    height: 36px;
    align-items: center;
    justify-content: center;
    display: flex;
    border-radius: var(--br-main);
    cursor: pointer;
    padding: 0px;
}

.sel-it > span{
    padding: 5px 10px;
}

.sel-it .select-var{
    width: 100%;
    height: 100%;
    background-color: var(--bg-secondary);
    color: white;
    justify-content: center;
    align-items: center;
    display: flex;
    border-radius: inherit;
}

.reader-body #wrapper{
    flex-direction: column;
}

.reader-img{
    width: 100%;
    align-items: center;
    justify-content: center;
    display: flex
;
}

.reader-img img{
    max-height: 50vh;
    width: auto;
}

/* Контейнер прогресса (серый фон) */
.read-progress-cont{
    width: 100%;
    height: 3px;
    background: #8989897a;
    position: sticky;
    bottom: 0px;
    z-index: 2;
    top: 0;
}

.read-progress-cont-bar{
    height: 100%;
    background: var(--bg-primary);
    width: 0%;
}

.reader-menu{
    display: flex;
    position: fixed;
    left: 10px;
    top: 10px;
}

.reader-menu > li{
    gap: 15px;
    display: flex;
    flex-direction: column;
}

.reader-menu > li a{
    display: flex;
    padding: 10px;
    width: fit-content;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    box-shadow: var(--box-shadow-l); 
    border-radius: 50%;
    gap: 10px;
}

.reader-menu > li > a{
    font-size: 16px;
    background-color: var(--bg-secondary);
    color: white;
}

.reader-menu > li > a span{
    display: none;
}

.reader-menu > li > ul{
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: var(--main-bg);
    box-shadow: var(--shadow-15);
    border-radius: 50px;
}

.reader-menu > li:hover > ul{
    display: flex;
}

.reader-menu > li > ul > li > a{
    width: 44px;
    height: 44px;
}

.reader-menu > li > ul > li > a:hover{
    background-color: var(--bg-secondary);
    color: white;
}

.reader-menu > li > ul > li > a:hover i{
    color: white;
}

.reader-menu > li > ul > li > a > span{
    display: none;
}


.in-app .read-progress-cont{
    top: 15px;
    position: relative;
}

.reader-timer{
    display: flex;
    align-items: center;
    padding: 0px 10px;
    background: #eee;
    color: black;
    margin: 0px 5px;
    font-weight: 600;
    font-size: 16px;
}

.reader-timer-info{
    display: flex;
    align-items: center;
    width: max-content;
    justify-content: center;
}

.reader-timer-info > div{
    width: 20px;
    flex-shrink: 0;
    text-align: center;
}

.reader-timer-info > i{
    margin: 0px 2px;
    font-size: 12px;
}

.reader-timer-control{
    display: flex;
    align-items: center;
}

.reader-timer-control > button{
    margin: 0px 2px;
    width: 30px;
    height: 30px;
}

.no-select {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}


.reader-head{
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 15px;
    height: 54px;
}

.reader-viewport {
    position: static;
    overflow-y: auto;
    height: auto;
}

.reader-text {
    position: static;
    top: auto;
}

.reader-viewport.page-mode {
    height: 75vh;
    position: relative;
    overflow: hidden;
}

.reader-text.page-mode {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.reader-text.two-columns {
    column-count: 2;
    column-gap: 1.5em;
    /* можно отрегулировать отступ между колонками */
}

.reader-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.reader-nav.d-none {
    display: none !important;
}


.reader-nav{

}

.reader-nav button{

}

.contents {
    min-height: auto;
}


/* balance */
.page-balance{
    overflow: auto; 
}

/* page awards */
.p-awards .page-header{
    flex-direction: row;
    display: flex;
}

.awards-table {
    border-radius: var(--br-main);
}

.p-awards .page-header .item-center{
    padding: 15px 25px 15px;
    justify-content: space-between;
}

.p-awards .page-header .item-images{
    flex-direction: column;
    height: max-content;
}

.p-awards .page-header .item-number:before{
    content:'';
    width: 100%;
    height: 100%;
    top:0;
    left: 0;
    position: absolute;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
}

.p-awards  .page-header .item-number span{
    position: relative;
    z-index: 2;
}

.p-awards .page-header img{
    filter: invert(31%) sepia(45%) saturate(5019%) hue-rotate(209deg) brightness(100%) contrast(100%);
}

.p-awards .num-one span{
    margin-top: -5px;
}

.p-awards .num-one:before{
    background-image: url(/images/gift/awards/level/4623899.png);
    filter: invert(31%) sepia(45%) saturate(5019%) hue-rotate(209deg) brightness(100%) contrast(100%);
}

.awards-table-item{
    width: 100%;
    display: flex;
    justify-content: space-between;
    background: inherit;
    padding: 15px 15px;
    border-radius: var(--br-main);
    line-height: normal;
}

.sections .awards-table-item{
    background: #2a2a2a66;
}

.awards-table-item:hover{
    opacity: 0.8;
}

.awards-table-item:nth-child(1){
    background: #5d41b9;
    font-size: 16px;
    font-weight: 600;
    color: white;
    border-bottom: 0px dashed;
}

.awards-table-item > div{
    width: auto;
    min-width: 110px;
    flex-direction: row;
    display: flex;
    align-items: center;
    justify-content: center;
}

.awards-table-item > div > i{
    font-size: 16px;
    background: inherit;
    border-radius: var(--br-main);
    color: inherit;
    margin-right: 10px;
    box-shadow: var(--box-shadow-l);
    min-width: 40px;
    min-height: 40px;
    text-align: center;
    line-height: 1;
    justify-content: center;
    display: flex;
    align-items: center;
}

.awards-table-item > div > span{
    font-size: 14px;
}

.awards-table-item > div > span > em{
    clear: both;
    display: flex;
    font-size: 12px;
    opacity: 0.7;
}

.awards-table-item > div:nth-child(1){
    font-weight: 600;
    font-size: 16px;
    justify-content: start !important;
}

.hexagon {
    width: 155px;
    height: 175px;
    position: relative;
    background-image: url(/images/gift/awards/level/hex.svg);
    background-size: cover;
    padding: 10px;
    background-repeat: no-repeat;
    background-position: center;
    margin: 15px auto;
    text-shadow: 0px 0px 89px black;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* page 404 */
.p-error{
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: row;
    height: calc(100vh - 0px);
    background-image: url(/images/404.webp);
    background-repeat: no-repeat;
    background-size: cover;
}

.p-error > div{
    gap: 15px;
    display: flex;
    flex-direction: column;
    margin-top: 170px;
    max-width: 40%;
    z-index: 1;
    position: relative;
}

.p-error_text{
    display: flex;
    flex-direction: column;
    font-size: 18px;
    gap: inherit;
}

.p-error h1{
    font-weight: 900;
    font-size: 120px;
    letter-spacing: 20px;
}

.p-error a{
    display: flex;
    width: fit-content;
    margin: 0px auto;
}

.error-fakt{
    padding: 30px;
    background: #00000040;
    border-radius: inherit;
    display: none;
}

.countdown{
    display: flex;
    width: fit-content;
    margin: 10px auto;  
    justify-content: space-between;
}

.countdown-number{
    width: 23%;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: black;
    margin: 0px 5px;
    border-radius: var(--br-main);
    border: 2px dashed #fe521a;
    background: white;
}

.countdown-time{
    font-size: 24px;
    font-weight: 800;
}

.countdown-text{
    font-size: 14px;
    font-weight: 600;
}

/*-page-form */
.page-form{
    display: flex;
    flex-direction: column;
}

.add-form{
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.add-form .item-cover{
    height: fit-content;
    border-radius: var(--br-main);
    overflow: hidden;
    flex-shrink: 0;
}

.add-form .item-cover img{
    height: fit-content;
}

.add-form .page-content{
    height: fit-content;
    padding: 15px;
    background-color: var(--main-div);
    border-radius: var(--br-alt);
    gap: 15px;
}

.add-form .block-content{
    gap: 15px;
    display: flex;
    flex-direction: column;
}

.add-form .page-content h2{
    font-size: calc(100% + 2px);
    font-weight: 700;
}

.add-form .form-label{
    margin-bottom: 0px;
    font-weight: 500;
}

/*  */
.check-img-option{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.check-img{
    width: calc((100% / 5) - 8px);
    position: relative;
}

.check-img-input{
    position: absolute;
    width: 100%;
    height: 100% !important;
    z-index: -1;
    opacity: 0;
}

.check-img-input:hover {
    background-color: var(--main-div);
}

.check-img-input+label {
    display: flex;
    flex-direction: column;
    align-items: center;
    user-select: none;
    text-align: center;
    border-radius: var(--br-main);
    padding: 0px;
    width: 100%;
    position: relative;
    cursor: pointer;
    background-color: var(--main-div);
    box-shadow: var(--box-shadow-l);
}

.check-img-input+label::before {
    content: '';
    display: flex;
    width: 22px;
    height: 22px;
    border-radius: 0px 10px 0px 10px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
    position: absolute;
    top: -1px;
    right: -1px;
    z-index: 1;
}

.check-img-input+label > div{
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    display: flex;
    padding: 0px;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
}

.check-img-input+label img{
    width: 100%;
    height: 100%;
    position: relative;
    opacity: 0.5;
}

.check-img-input+label:hover img {
    opacity: 1;
}

.check-img-input+label span{
    height: 45px;    
    display: flex;
    align-items: center;
    word-break: break-word;
}

.check-img-input:checked+label{
    background: var(--bg-secondary);
    border-radius: var(--br-main);
    color: white;
}

.check-img-input:checked+label span{
    font-weight: 500;
 }

.check-img-input:checked+label img{
    opacity: 1;
    animation: jenres-icon 0.7s ease forwards;
    /* filter: invert(48%) sepia(14%) saturate(3542%) hue-rotate(213deg) brightness(100%) contrast(91%); */
}

.check-img-input:checked+label:before {
    border-color: #8573f3;
    background-color: #8573f3;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

.check-bg{

}

.check-bg .check-img{
    width: calc((100% / 2) - 5px);
}

.check-ava{
    
}

.check-jenre{

}

.check-jenre .check-img{
    width: calc((100% / 4) - 8px); 
}

.check-jenre .check-img-input:checked+label img{
    filter: var(--fill-white);
}

.check-gift img{
    padding: 10px;
}

.check-jenre img{
    padding: 25px;
    margin-bottom: -20px;
}

.input-icon-r {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #8b8b8b;
    margin-left: 0px;
    position: relative;
    z-index: 1;
}

.item-likers-list img{
    width: 100%;
}

.add-rating{
    position: relative;
}

.rate-div{
    right: 48px;
    height: 100%;
    display: flex;
    width: fit-content;
    top: 0;
    width: fit-content;
    display: none !important;
}

.item-end .rate-div{
    position: absolute;
}

.rate-div.activated{
    display: flex !important;
}

.rate-emotion button{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 16px;
}

.rate-emotion button span{
    position: absolute;
    margin-bottom: 30px;
    display: none;
    background: inherit;
    color: inherit;
    bottom: -60px;
}

.rate-emotion button:hover span{
    position: absolute;
    bottom: -45px;
    display: flex;
    font-size: 10px;
    padding: 1px 5px;
    z-index: 1;
    border-radius: var(--br-main);
}

.rate-emotion button:hover{
    background: black;
    color: white;
}

.book-contested{
    border-width: 15px 0px;
    border-color: #ffffff;
    border-style: solid;
    display: flex;
    padding: 15px;
    align-items: center;
    justify-content: space-between;
}

.book-contested img{
    width: 30px;
    margin: 0px -5px;
}

.book-contested-info{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0px;
}

.book-contested-info strong{
    font-size: 13px;
    font-weight: 800;
}

.book-contested-info em{
    font-size: 12px;
    margin-top: 5px;
}

.book-contested-info a{
    background: #ff9220;
    padding: 4px 6px;
    display: flex;
    width: fit-content;
    margin-top: 10px;
    border-radius: var(--br-main);
    color: white;
    font-size: 12px;
}

/* user stat */
.p-usstat:nth-child(1){
    background-color: #0161cda8;
    color: white;
}

.p-usstat:nth-child(2){
    background-color: #f69110a8;
    color: white;
}

.p-usstat:nth-child(3){
    background-color: #4949e7a8;
    color: white;
}

.p-usstat:nth-child(4){
    background-color: #ec3a3ba8;
    color: white;
}

.p-usstat:nth-child(5){
    background-color: #00af80a8;
    color: white;
}

/* p-games */
.faq-list-done{
    position: relative;
}

.faq-list-done .li-faq-item{
    width: 100%;
    padding: 5px 15px;
    box-shadow: var(--box-shadow-l);
    border-radius: var(--br-main);
    margin-bottom: 10px;
    height: 40px;
    display: flex;
    align-items: center;
    background: #40404021;
}

.faq-list-done .li-faq-item:after{
    content: "\f057";
    font-family: 'Font Awesome 6 Pro';
    font-weight: 400;
    position: relative;
    right: 15px;
    position: absolute;
    opacity: 0.5;
}

.faq-list-done .li-faq-item.f-done{
    text-decoration: line-through;
}

.faq-list-done .li-faq-item.f-done:after{
    content: "\f058";
    font-weight: 900;
    color: #00af80a8;
    opacity: 1;
}

.faq-tab-head{
    width: 100%;
    padding: 15px 15px;
    box-shadow: var(--box-shadow-l);
    border-radius: var(--br-main);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.faq-tab-head span{
    font-size: 14px;
    font-weight: 700;
}

.highlight {
	border: 1px solid #fe531a63;
	background: #fe531a33;
	color: black;
}
