* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	outline: none;
	background: none;
	text-decoration: none;
	font-family: "Montserrat", sans-serif;
}

.newformlogin {
color:#fff;
}

.newformlogin label {display:block; margin:0 0 10px 0; font-size:14px;}
.newformlogin input {width:100%; min-width:150px; height:35px; padding:0 10px; border:0px; background:#fff; color:#111; margin:0 0 10px 0;}
.newformlogin a {color:#fff;}
.newformlogin button {display:block; cursor:pointer; width:100%; height:35px; background:#60a9ff; color:#fff; }

.form__label, .registration__form label, .tableform label {
display:block; margin:0 0 10px 0; font-size:14px;
}

.form__content input, .registration__form input, .tableform input {
width:100%; min-width:150px; height:35px; padding:0 10px; border:1px #60a9ff solid; background:#fff; color:#111; margin:0 0 10px 0;
}

.checkbox input, #allow_mail {width:20px; height:20px; min-width:none; padding:0px;}

.form_submit button, .form__btn, .bbcodes, .fbutton {display:block; cursor:pointer; width:100%; height:35px; background:#60a9ff; color:#fff; margin:0 0 10px 0; }

.comment-item {margin:0 0 60px 0;}

.serial-string form {width:100%;}

.padding_border {line-height:150%;}

.header nav {position:relative;}

.tabs-title { 
background-image: linear-gradient(0deg, #eee 0, #007bff);
    border-bottom: 5px solid #980c3d;
    border-radius: 5px 5px 0 0;
    display: block;
    font-size: 0;
    margin: 0;
}
.tabs-title li {
        border-top-left-radius: 5px;
    border-left: 1px solid #007bff;
    border-right: 1px solid #111;
    color: #666;
    cursor: pointer;
    display: inline-block;
    font-size: 12px;
    padding: 10px 20px;
    text-align: center;
    text-shadow: 0 1px 0 #fff;
    border-bottom: 2px solid #000;
}
.tabs-title a {
    color: #fff;
}
.mylists-count {
    position: relative;
    top: -3em;
    background-color: #FF0000;
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 12px;
    padding: 5px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(253%);
}
.leftr {
    margin-left: -2em;
    float: left;
}
.pgs-back {display:block; padding:15px 10px;}
.pgs-head {
    display: inline-block; /* Чтобы выглядело как кнопка */
    padding: 10px 20px; /* Отступы внутри */
    border: 2px solid #007bff; /* Цвет рамки */
    border-radius: 25px; /* Закругленные углы */
    background-color: white; /* Фон */
    color: #007bff; /* Цвет текста */
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    cursor: pointer; /* Курсор, как у кнопки */
    transition: all 0.3s ease-in-out;
    position: relative;
    left: 35%;
}


.serial-data {position:relative;}

.serial-data .mylists-del {
position: absolute;
top: 0px;
left: 0px;
background: #111;
color: #fff;
font-size: 12px;
padding: 10px;
cursor:pointer;
}

.serial-data .mylists-del:hover {opacity:.6;}































/* Main page */

button {
	border: none;
}

body {
	margin: 0;
	padding: 0;
	font-family: Montserrat, sans-serif;
	background-color: #648c8e;
	padding: 17px
		clamp(
			10px,
			calc(10px + (40 - 10) * ((100vw - 360px) / (1440 - 360))),
			40px
		);
}
.mainContainer {
	max-width: 1420px;
	margin: 0 auto;
	border-radius: 30px;
	background: #d4d4d4;
}
.header nav {
	box-shadow: #000 0 0 30px;
}
.container {
	display: flex;
	flex-direction: row;
	width: 100%;
}
.sidebar {
	width: 300px;
	overflow-y: auto;
	padding: 20px;
	box-sizing: border-box;
}

.top-serials__wrapper {width:240px;}

.hide-input {
	display: none;
}
.sidebar__inner {
	width: 100%;
	max-width: 358px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.random-series__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: #60a9ff;
	color: #fff;
	border-radius: 30px;
}
.random-series__inner__inner {
	width: 100%;
	height: 60px;
	border-radius: 30px;
	display: flex;
	align-items: center;
	padding: 0 20px;
	gap: 15px;
	background: #60a9ff;
	color: #fff;
}
.random-series__inner__inner span {
	font-family: Montserrat;
	font-weight: 600;
	font-size: 16px;
	background: #60a9ff;
	color: #fff;
}
.random__icon {
	width: 30px;
}

.best-serials {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: #60a9ff;
	border-radius: 30px;
	color: #fff;
}
.best-serials__wrapper {
	width: 100%;
	height: 50px;
	background: #60a9ff;
	border-radius: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: Montserrat;
	font-weight: 600;
	font-size: 13px;
}
.coming-soon {
	display: flex;
	flex-direction: column;
	align-items: center;
	border-radius: 30px;
	color: #fff;
}
.coming-soon__inner {
	width: 100%;
	height: 50px;
	background: #60a9ff;
	border-radius: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.coming-soon__inner span {
	font-family: Montserrat;
	font-weight: 600;
	font-size: 16px;
}

.filters__wrapper {
	background: #b8b4b4;
	padding: 40px 5px 20px;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.filter-select__wrapper {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 10px;
}
.filter-label-btn {
	cursor: pointer;
}
.filter-btns__wrapper {
	display: flex;
	align-items: stretch;
}
.filter-btn {
	height: 100%;
}
.serials-filter {
	width: 100%;
	background-color: #fff;
	border-radius: 20px;
	border: 3px solid #e0dddd;
	padding: 5px;
}
.serials-filter__inner {
	background-color: #60a9ff;
	padding: 15px;
	border-radius: 10px;
	margin-bottom: 20px;
}
.filter-title {
	font-family: Montserrat;
	font-weight: 600;
	font-size: 16px;
	color: #fff;
	text-align: center;
	margin: 0;
}
.filter-controls {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.filter__select {
	width: 100%;
	padding: 8px;
	border-radius: 10px;
	border: 1px solid #bbbaba;
	background-color: #d9d9d9;
	font-family: Montserrat;
	font-size: 12px;
}
.filter-categories label span {
	padding: 5px 10px;
	border-radius: 5px;
	border: 1px solid #cccaca;
	background-color: #d9d9d9;
	font-family: Montserrat;
	font-size: 10px;
	cursor: pointer;
	opacity: 0.7;
}

.filter-btns__wrapper label input {display:none;}

.filter-btn {cursor:pointer;}

.filter-label-btn input {display:none;}

.filter-categories label input:checked + span {
opacity:1;
 background-color: #303438;
 color: #f4f4f4;   
}

.filter-label-btn span, .filter-btns__wrapper label span {
    border: 2px transparent solid;
    display: block;
    font-size: 0px;
    line-height: 0px;
}

.filter-label-btn input:checked + span, .filter-btns__wrapper label input:checked + span {
    border: 2px #60a9ff solid;
    display: block;
    font-size: 0px;
    line-height: 0px;
    background-color: #303438;
}

.filter-categories label input {display:none;}

.selected-category {
	opacity: 1 !important;
}
.additional-filter {
	width: 100%;
	background-color: #fff;
	border-radius: 20px;
	border: 3px solid #e0dddd;
	padding: 5px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.additional-filter__inner {
	background-color: #60a9ff;
	padding: 5px;
	border-radius: 10px;
	cursor: pointer;
}

.additional-filter__controls-wrapper {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 20px;
}
.hide {
	display: none;
}

.original-names__wrapper {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
}
.original-names__checkbox {
	width: 18px;
	height: 18px;
	border: 1px solid #afadad;
}
.original-name__label {
	font-family: Montserrat;
	font-size: 12px;
	color: #868585;
}
.filter__extra-options {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-top: 20px;
}
.filter-results {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}
.filter-result-option {
	width: 100%;
	background: #60a9ff;
	padding: 5px 40px;
	border-radius: 20px;
	border: 2px solid #fff;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}
.show-found__btn {
	width: 100%;
	background: #fff;
	border-radius: 20px;
	padding: 15px 25px;
	cursor: pointer;
}

.series-card__container {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	gap: 50px;
}
.series-cards__wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	width: 100%;
}
.series-card {
	width:calc(50% - 5px);
	height: 267px;
	border-radius: 20px;
	overflow: hidden;
	position: relative;
}
.series__picture {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.series-card__title-wrapper {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.7);
	padding: 15px;
}
.series-card__title {
	font-family: Montserrat;
	font-weight: 700;
	font-size: 14px;
	color: #fff;
	text-align: center;
	margin: 0 0 5px 0;
}
.series-card__description {
	font-family: Montserrat;
	font-size: 12px;
	color: #adadad;
	text-align: center;
	margin: 0 0 5px 0;
}
.series-card__series {
	font-family: Montserrat;
	font-size: 12px;
	color: #fff;
	text-align: center;
	margin: 0;
}
.series-cards__pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 5px;
	padding-top: 40px;
    width: 100%;
}
.pagination-btn {
	border: none;
	cursor: pointer;
}
.pagination__numbers-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
}
.pagination__numbers-wrapper a {
    background: #c51414;
    border-radius: 5px;
    padding: 0.3em 0.5em;
    color: #fdfdfd;
}

.pagination__current {
	color: #fff;
}

.alphabet__container {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	border: #bdbcbc 2px solid;
	border-radius: 20px;
	overflow: hidden;
	margin-top: 50px;
}
.serials-by-letter {
	background: #60a9ff;
	color: white;
	font-weight: 600;
	text-align: center;
	padding: 15px 35px;
	width: 100%;
	border-radius: 0 0 20px 20px;
	border-bottom: 2px solid #bdbcbc;
}
.alphabet {
	border-spacing: 5px;
	padding: 20px 40px;
    background: #eee;
}
.alphabet-btn {
	background: #e5e3e3;
	border-radius: 5px;
	border: 1px solid #bdbcbc;
	padding: 5px 10px;
	font-weight: 600;
	width: 100%;
	cursor: pointer;
}
.alphabet-current {
	color: #fff;
	background: #60a9ff;
}

.alphabet-results {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
    padding: 8px 10px 8px;
    border-radius: 10px;
}
.alphabet-results:has(a) {
    background: #eee;
}
.alphabet-results a:nth-child(odd), .alphabet-results__item:nth-child(odd) { 
    background: #615858;
    color: #fff;
    padding: 4px 4px 4px;
    border-radius: 9px;
}

.alphabet-results a:nth-child(even), .alphabet-results__item:nth-child(even) { 
    background: #999090;
    color: #f4f4f4;
    padding: 4px 4px 4px;
    border-radius: 9px;
}
.alphabet-results a.alphabet_more {
    background: #db2525;
    color: #fff;
    padding: 10px 10px 10px;
    border-radius: 9px;
    margin: auto;
    display: block; /* Сделает её блочной, центрируется, если нужно */
    text-align: center; /* Выравнивание текста */
    font-weight: bold; /* Жирный шрифт */
}
.alphabet-results__item {
	color: #000;
	font-weight: 600;
    font-size: 14px;
    display: block;
}

.main-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px 0;
	box-sizing: border-box;
}
nav {
	width: 100%;
	background-color: #648c8e;
	padding: 20px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.top-text_wrapper {
	width: 100%;
	text-align: left;
	padding: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}
.social-links {
	display: flex;
	align-items: center;
	gap: 5px;
}
.social-link_icon {
	width: 50px;
}
.top-text {
	font-size: 16px;
	color: #425859;
	margin-bottom: 10px;
	text-align: left;
}
.main-content-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 1600px;
}
.logo {
	width: 300px;
	height: 72px;
}
.search-form {
	position: relative;
	width: 615px;
	height: 65px;
}
.search-input {
	width: 100%;
	height: 100%;
	padding: 0 20px;
	border-radius: 50px;
	border: 5px solid #425859;
	font-size: 16px;
	color: #425859;
	outline: none;
	background: #fff;
}
.search-button {
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	width: 38px;
	height: 40px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}
.menu-buttons {
	display: flex;
	gap: 5px;
	background: #425859;
	border-radius: 50px;
	padding: 5px;
	white-space: nowrap;
}
.menu-buttons .search-button {
	display: none;
}
.menu-button,
.status-button {
	position: relative;
	height: 65px;
	background-color: #fff;
	border-radius: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #000000;
	font-size: 16px;
	padding: 7px;
}
.menu-button {
	padding: 7px 20px;
	position: relative;
}
.menu-button .icon,
.status-button .icon {
	width: 45px;
	height: 45px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 10px;
}
.menu-button .icon {
	background-color: #60a9ff;
}

.menu-button .icon img {max-width:100%;}

.icon span {
	color: white;
	font-family: Quattrocento;
	font-weight: 700;
	font-size: 24px;
}

.menu__wrapper {
    position: absolute;
    background: rgba(0, 0, 0, 0.7);
    top: 100%;
    left: 5%;
    z-index: 100;

    opacity: 0;
    visibility: hidden; /* Вместо pointer-events */
    transform: translateY(-10px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out, visibility 0s linear 0.5s;
}

/* Показываем меню при наведении */
.menu-button:hover > .menu__wrapper,
.menu__wrapper:hover { 
    opacity: 1;
    visibility: visible; /* Делаем видимым */
    transform: translateY(0);
    transition-delay: 0s; /* Открывается сразу */
}

/* Скрываем с задержкой */
.menu-button:not(:hover) > .menu__wrapper {
    opacity: 0;
    visibility: hidden; /* Скрываем после анимации */
    transform: translateY(-10px);
    transition-delay: 1.5s; /* ⏳ Меню исчезает через 0.5 сек */
}


.menu__inner {
	position: relative;
	padding: 25px 40px 60px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.username {
	color: #fff;
	font-weight: 700;
}

.menu-separator {
	background: #fff;
	width: 70px;
	height: 1px;
}

.menu-nav {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.menu-item {
	display: flex;
	align-items: center;
	color: #fff;
	gap: 7px;
	font-weight: 400;
}

.exit-btn {
	position: absolute;
	bottom: 0;
	right: 0;
	padding: 5px 30px;
	border: none;
	color: #fff;
	background: #60a9ff;
	font-size: 24px;
	font-weight: 700;
	border-radius: 10px 0 0 0;
	cursor: pointer;
}

.status-button .icon {
	width: 50px;
	height: 50px;
	background-image: url("../media/header/pause.png");
	background-size: cover;
}

.serials__wrapper {
	background: white;
	border-radius: 50px;
	box-shadow: #000 0 0 20px;
	width: 100%;
	margin: 0 auto;
}

.serial-list-data {
	width: 100%;
	background: #ffffff;
	border-radius: 50px;
	padding: 20px;
	box-sizing: border-box;
	border: 2px solid #d9d9d9;
}
.serial-table {
	display: flex;
	flex-direction: column;
	gap: 50px;
	margin-top: 20px;
}
.serial-string {
	/* display: flex;
	flex-direction: row;
	gap: 55px;
	justify-content: center;
	flex-wrap: wrap; */
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	justify-content: center;
}
.serial-data {
	border-radius: 20px;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	width:calc(33.333% - 14px);
	margin:0 0 10px 0;
}
.serial-image {
	width: 7vw;
	height:200px;
	border-radius: 20px;
	object-fit: cover;
}

.serial-text__wrapper {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	gap: 20px;
}

.serial-title {
	position: relative;
}
.serial-title {
	font-weight: 700;
	font-size: 16px;
	color: #000000;
	max-width: 100%;
	word-break: break-all;
}
.serial-title:hover .full-title__wrapper {
	display: block;
}
.full-title__wrapper {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	max-width: 150%;
	padding: 5px;
	z-index: 100;
	background: red;
}
.serial-subtitle {
	font-weight: 400;
	font-size: 14px;
	color: #adabab;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	text-overflow: ellipsis;
	white-space: wrap;
	overflow: hidden;
}
.serial-episode {
	font-weight: 400;
	font-size: 12px;
	color: #000000;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	text-overflow: ellipsis;
	white-space: wrap;
	overflow: hidden;
}
.date-container {
	max-width: 292px;
	width: 25%;
	height: 53px;
	background: #60a9ff;
	border-radius: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #ffffff;
	font-size: 14px;
}
.change-list {
	position: absolute;
	top: 21px;
	right: 32px;
	width: 107px;
	height: 50px;
}
.top-serials__wrapper {
	margin: 20px;
}
.top-serials {
	width: 100%;
	margin: 0 auto;
	display: none;
	flex-direction: column;
	gap: 50px;
	padding: 20px;
	background: #fff;
}
.current-serials {
	display: flex;
}
.top-serials__buttons {
	display: flex;
	align-items: center;
	border-radius: 20px 20px 0 0;
	overflow: hidden;
	background: #60a9ff;
}
.top-serials__btn:first-child {
	border-radius: 20px 0 0 0;
}
.top-serials__btn:last-child {
	border-radius: 0 20px 0 0;
}
.top-serials__btn {
	width: 100%;
	text-align: center;
	height: 50px;
	color: #9b9898;
	font-weight: 400;
	background: #d9d9d9;
	border: 1px solid #fff;
	cursor: pointer;
}
.top-serials__btn-current {
	background: none;
	color: #fff;
	border: none;
}
.serial-card {
	position: relative;
	width: 100%;
	height: 358px;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.serial-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.new-badge {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 43px;
	background-color: #60a9ff;
	display: flex;
	justify-content: center;
	align-items: center;
}
.new-badge span {
	font-weight: 700;
	font-size: 20px;
	color: #ffffff;
}
.description {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	padding: 16px;
	box-sizing: border-box;
}
.serial-card .description .button {
	display: none;
}
.serial-card:hover .button {
	display: block;
}
.description h3 {
	font-weight: 700;
	font-size: 16px;
	color: #ffffff;
	text-align: center;
	margin: 0;
}
.description p {
	font-weight: 400;
	font-size: 16px;
	color: #ababab;
	text-align: center;
	margin: 8px 0 0;
}
.description p:last-child {
	color: #ffffff;
	margin: 4px 0 0;
}
.description .button {
	width: 106px;
	background-color: #60a9ff;
	border: none;
	border-radius: 10px;
	color: #ffffff;
	font-weight: 700;
	font-size: 16px;
	margin: 20px auto 0;
	display: block;
	cursor: pointer;
	padding:9px;
	text-align:center;
}
.description .button:hover {
	background-color: #4a8cd4;
}

.mob-filters__container {
	display: none;
}

.bottom {
	margin-top: 10%;
}
.bottom__title {
	font-size: 30px;
	font-weight: 700;
	color: #000;
	margin-bottom: 30px;
	text-align: center;
}
.bottom__description {
	font-size: 16px;
	font-weight: 400;
	margin: 20px;
}

.footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 35px;
	gap: 10px;
}
.footer-content {
	display: flex;
	flex-direction: column;
	gap: 25px;
}
.footer__rights-text {
	color: #fff;
}
.footer__rights-text span {
	color: #fcf204;
	font-weight: 400;
}
.footer__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	color: #fcf204;
	gap: 10px;
}
.footer-link {
	color: #fcf204;
}
.footer-separator {
	color: #fcf204;
}
.footer-logo {
	width: 350px;
}

.list-view {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}
.list-view .serial-string {
	display: flex;
	flex-direction: column;
}
.list-view .serial-data {
	max-width: none;
	width: 100%;
}
.list-view .serial-image {
	display: none;
}
.list-view .serial-subtitle {
	display: none;
}
.list-view .serial-title {
	position: static;
}
.list-view .serial-episode {
	position: static;
}
.list-view .serial-data .serial-text__wrapper {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	height: auto;
	padding: 8px 20px;
	border-radius: 0;
}
.list-view .serial-string {
	gap: 0;
}
.list-view .serial-data:nth-child(even) {
	background: #f0efef;
}
.list-view .serial-data > .serial-episode {
	font-size: 8px;
}
.list-view .serial-text__wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	flex-direction: row;
}

.serials-upper__container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	gap: 5px;
}
.list-view-switcher__container {
	display: flex;
	align-items: center;
	gap: 10px;
}

.serials-switcher__btn {
	cursor: pointer;
	opacity: 0.5;
}
.current-view {
	opacity: 1;
}

.categories-btn:hover .menu-categories__wrapper {
	display: grid;
}

.mob-filter-btn {
	font-size: 16px;
	background: #60a9ff;
	border-radius: 3px;
	color: #fff;
	padding: 10px;
	border: 1px solid #9d9c9c;
	display: flex;
	align-items: center;
	gap: 5px;
	cursor: pointer;
	text-align: center;
	white-space: nowrap;
	font-weight: 600;
	position: relative;
	opacity:1 !important;
}

.menu-categories__wrapper {
	position: absolute;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.7);
	top: 100%;
	left: 0;
	display: none;
	gap: 15px;
	padding: 20px;
	grid-template-columns: 1fr 1fr;
	z-index: 100;
}
.category-item {
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	background: #60a9ff;
	padding: 5px 40px;
	width: 100%;
	border-radius: 3px;
	cursor: pointer;
}

.btn-trigger {
	cursor: pointer;
}

@media (max-width: 960px) {
	.serials-upper__container .mob-filter-btn {
		display: none;
	}
    .serial-image {
    width: 14vw;
    height: 200px;
    }
	.top-text {
		font-size: 10px;
	}
	nav {
		padding: 5px;
	}
	.logo {
		width: 90px;
		height: auto;
	}
	.search-input {
		display: none;
	}
	.menu-buttons .search-button {
		display: block;
	}
	.menu-buttons {
		width: auto;
		white-space: wrap;
		font-size: 10px;
		padding: 5px;
	}
	.search-form {
		display: none;
	}
   
	.search-button {
		background: #fff;
		width: 70px;
		height: auto;
		border-radius: 30px;
		position: static;
		transform: translate(0);
		aspect-ratio: 1;
	}
	.container {
		flex-direction: column;
	}
	.sidebar {
		display: none;
	}
	.top-serials__wrapper {
		display: none;
	}

	.serials__wrapper {
		width: 100%;
	}

	.filters__wrapper {
		flex-direction: column;
		align-items: flex-start;
		padding: 5px;
		gap: 5px;
        width: 90vw;
	}

	.mob-filters__container {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 10px;
		margin: 10px 0;
		width: 100%;
	}
	.mob-filters__btns {
		display: flex;
		align-items: stretch;
		width: 100%;
		justify-content: center;
		padding: 0 15px;
	}

	.mob-filter-btn__current {
		opacity: 1;
	}
	.mob-filter-btn > img {
		width: 15px;
	}
	.mob-filter-btn.active {
		opacity: 1;
	}

	.show-found__filter {
		width: 100%;
		background: #d9d9d9;
		border-radius: 10px;
		border: 1px solid #bbbaba;
		padding: 5px 0;
	}

	.mob-filters {
		display: flex;
		gap: 20px;
		padding: 10px;
		align-items: flex-start;
	}
	.filter-categories {
		display: flex;
		margin-top: 10px;
		align-items: flex-start;
	}

	.categories-btn:hover .menu-categories__wrapper {
		display: grid;
	}

	.mob-filter-btn {
		font-size: 9px;
		background: #60a9ff;
		border-radius: 3px;
		color: #fff;
		padding: 3px;
		border: 1px solid #9d9c9c;
		display: flex;
		align-items: center;
		gap: 5px;
		opacity: 0.7;
		cursor: pointer;
		width: 100%;
		text-align: center;
		white-space: nowrap;
		font-weight: 600;
		position: relative;
	}
	.mob-filter-btn__current {
		opacity: 1;
	}

	.menu-categories__wrapper {
		position: absolute;
		border-radius: 10px;
		background: rgba(0, 0, 0, 0.7);
		top: 100%;
		left: -100%;
		right: auto;
		display: none;
		gap: 15px;
		padding: 10px;
		grid-template-columns: 1fr 1fr;
		z-index: 100;
	}
	.category-item {
		color: #fff;
		font-size: 6px;
		font-weight: 600;
		background: #60a9ff;
		padding: 5px 40px;
		width: 100%;
		border-radius: 3px;
		cursor: pointer;
	}



	.news-menu__wrapper {
	display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
   background-color: #000;
    padding: 53px;
	}

	.news-menu__wrapper .serial-card {
		height: auto;
		/* width: 80%; */
        width: 100%;
	}
	.news-menu__wrapper .serial-card h3 {
		font-size: 10px;
	}
	.news-menu__wrapper .serial-card p {
		font-size: 8px;
	}
	.news-menu__wrapper .serial-card button {
		height: auto;
		/* width: 80%; */
        width: 100%;
        border: groove;
	}

.mob-filter-btn .close {
position:absolute;
top:10px;
right:10px;
z-index:9;
cursor:pointer;
width:40px;
height:40px;
background:url(../images/mobile-close.svg) no-repeat;
}



	.tops-menu__wrapper {
	display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
   background-color: #000;
    padding: 53px;
	opacity:1 !important;]
	}
	.tops-menu__wrapper .serial-card {
		height: auto;
		/* width: 80%; */
        width: 100%;
        border: groove;
	}
   
	.tops-menu__wrapper .serial-card h3 {
		font-size: 10px;
	}
	.tops-menu__wrapper .serial-card p {
		font-size: 8px;
	}
	.tops-menu__wrapper .serial-card button {
		font-size: 10px;
		padding: 5px;
		height: auto;
		width: auto;
	}
}

@media (max-width: 768px) {
	
.search-form {
    position: absolute !important;
    top: 100%;
    left: 0px;
    right: 0px;
    z-index: 9;
	width:auto !important;
	background:#fff;
}

.search-form.active {
display: flex !important;
}

.search-input {display:block !important;}

	
	
	.main-content-container {
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}
	.logo {
		width: 60%;
	}
	.search-form {
		display: none;
	}
	.search-form,
	.menu-button,
	.status-button {
		padding: 5px 7px;
		font-size: 8px;
	}

	.mob-filters {
		gap: 5px;
	}
	.mob-filters * {
		font-size: 8px;
	}

	.filter-result-option {
		font-size: 10px;
		padding: 5px 10px;
		margin-top: 10px;
	}

	.serials-filter {
		height: auto;
	}

	.filter-select__wrapper {
		gap: 1px;
	}
	.filter-title {
		font-size: 10px;
	}

	.filter-categories label {
		font-size: 8px;
	}

	.additional-filter .filter-btn img {
		width: 15px;
	}

	.date-container {
		width: 100px;
	}

	.serial-string {
		align-items: center;
	}

	.top-text {
		font-size: 8px;
	}
	.social-link_icon {
		width: 20px;
	}

	.footer-logo {
		width: 130px;
	}

	.serials-switcher__btn img {
		width: 20px;
	}

	.list-view .serial-title {
		font-size: 10px;
	}
	.list-view .serial-episode {
		font-size: 8px;
	}
}

/* Serial page */

/* Main content section */
.main {
	width: 100%;
	padding: 3% 1%;
}

/* Serial info */
.serial-info__container {
	padding: 80px 40px;
	display: flex;
	align-items: flex-start;
	gap: 2%;
	background: #fff;
	border-radius: 20px;
	overflow: hidden;
	position: relative;
}

.back-btn {
	font-size: 16px;
	color: #fff;
	padding: 10px 30px;
	font-weight: 600;
	background: #60a9ff;
	position: absolute;
	top: 0;
	right: 0;
}

.serial-image__wrapper {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	overflow: hidden;
	border-radius: 10px;
	max-width: 300px;
	flex-shrink: 0;
	width: 100%;
}
.serial-poster {
	height: auto;
	object-fit: cover;
	width: 100%;
}
.serial-image__text {
	font-size: 16px;
	width: 100%;
	font-weight: 600;
	padding: 30px;
	text-align: center;
	background: #60a9ff;
	color: #fff;
}

.serial-info__text-container {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	text-align: left;
	gap: 20px;
}
.serial-page-title {
	font-size: 1.6rem;
	font-weight: 600;
}
.serial-description {
	font-size: 16px;
	font-weight: 400;
}

.serial-details__container {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	width: 100%;
	gap: 10px;
}

.serial-details__wrapper {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	max-width: 463px;
}
.serial-detail {
	font-size:16px;
	font-weight: 600;
}
.serial-detail * {
	font-weight: 400;
}

.serial-tags {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}
.tags__wrapper {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.tag-item {
	color: #fff;
	background: #9d9b9b;
	border-radius: 30px 10px 10px 30px;
	padding: 7px 4px 7px 30px;
	font-size: 0.75rem;
	font-weight: 600;
	position: relative;
}
.tag-item::before {
	content: "·";
	color: #fff;
	font-size: 2rem;
	position: absolute;
	left: 10px;
	top: 40%;
	transform: translate(0, -50%);
}

.roles__container {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 450px;
	width: 100%;
	gap: 30px;
}
.roles-title {
	font-size: 16px;
	font-weight: 600;
	color: #60a9ff;
	text-align: center;
	position: relative;
}

.roles-title::before {
	content: "";
	background: #60a9ff;
	display: block;
	height: 3px;
	width: 100%;
	position: absolute;
	left: -130%;
	top: 50%;
	transform: translate(0, -50%);
}
.roles-title::after {
	content: "";
	background: #60a9ff;
	display: block;
	height: 3px;
	width: 100%;
	position: absolute;
	right: -130%;
	top: 50%;
	transform: translate(0, -50%);
}

.actors__wrapper {
	display: grid;
	align-items: center;
	gap: 40px;
	grid-template-columns: 1fr 1fr;
}
.actor-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 1rem;
	font-weight: 400;
}
.actor-pic {
	width: 40px;
	background: #d9d9d9;
	border-radius: 30px;
}

/* Seasons */
.seasons-container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	width: 100%;
	margin: 20px 0;
}

.seasons-title {
	font-size: 16px;
	font-weight: 600;
	background: #fff;
	border-radius: 30px 30px 0 0;
	padding: 20px 100px;
}

.seasons__wrapper {
	background: #fff;
	padding: 10px 30px;
	width: 100%;
}
.season-item {
	display: block;
	color: #000;
	width: 100%;
	padding: 15px;
	border-radius: 20px;
	border: 3px solid #d9d9d9;
}
.season-item__title {
	font-size: 16px;
	font-weight: 600;
	word-break: break-all;
}
.season__episode {
	display: none;
}

.season__current {
	position: relative;
}
.season__current .season-item__title {
	position: relative;
	right: -40px;
	max-width: 80%;
}
.season__current::before {
	content: ">>>";
	position: absolute;
	top: 15px;
	left: 15px;
	font-size: 16px;
	font-weight: 600;
}

.season__current .season__episode {
	display: block;
	color: #60a9ff;
	font-size: 16px;
	font-weight: 600;
}

/* Video player */
.video-player__container {
	background: #fff;
	padding: 3% 1%;
	border-radius: 30px;
}
.video-player__container html {
	padding: 0;
}
.player__info {
    margin: 0 6px;
    padding: 10px;
    text-align: center;
    color: black;
    background: #ffa54c;
    border: 1px solid #b87736;
    border-radius: 10px;
    clear: both;
}
.player__upper-btns {
    margin: 15px 6px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
}
.player-btns__inner {
	display: flex;
	align-items: stretch;
}
.player-btns {
    background: #fff;
    color: #000;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px 10px 0 0;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
}
.player-btns:hover {
    background-color: #000; 
    color: #f1f1f1;            
}
.player-btn {
	background: #000;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 10px;
	border-radius: 10px 10px 0 0;
	border: none;
	padding: 15px 20px;
	cursor: pointer;
}
.player-hd {
    position: absolute;
    bottom: -34px;
    right: 5px;
    padding: 5px;
    background: #2b2a2a;
    color: #fff;
    font-weight: 600;
    z-index: +1;
    cursor: pointer;
}
.player-hd:hover, .player-hd.active {
    color: #ff8822;
}

.video-player {
	width: 100%;
	margin: auto;
	aspect-ratio: 22 / 9;
}

.translations__container {
	margin: 0 6px 0;
	background: #000;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1%;
	padding-left: 40px;
}
.translations-title {
	font-size: 16px;
	color: #fff;
	font-weight: 600;
}

.translations-popularity {
	position: relative;
   
}
.translations-popularity::before {
	content: url("../media/serialPage/translations/question-circle-svgrepo-com1.png");
	height: 100%;
	width: 30px;
	position: absolute;
	left: -15%;
	top: -3px;
	bottom: 0;
}

.translations__wrapper {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-left: 5%;
}
.translation-item {
	background: #2b2a2a;
	font-size: 0.875rem;
	font-weight: 600;
	padding: 15px 10px;
	border: none;
	color: #fff;
	cursor: pointer;
}

.recommendations__container {
	background: #fff;
	border-radius: 30px;
	padding: 60px 20px 20px;
	display: flex;
	align-items: stretch;
	margin-top: 20px;
	position: relative;
	overflow: hidden;
}

.recommendations-badge {
	font-size: 16px;
	font-weight: 600;
	padding: 10px 40px;
	background: #60a9ff;
	color: #fff;
	border: none;
	position: absolute;
	top: 0;
	left: 0;
}

.film-card {
	border-radius: 20px;
	border: 3px solid #d9d9d9;
	padding: 3px;
	display: flex;
	align-items: flex-start;
	gap: 30px;
	width: 100%;
}
.film-card__poster {
	width: 166px;
	object-fit: cover;
}
.film-text__wrapper {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	flex-direction: column;
}
.film-title {
	font-size: 2rem;
	font-weight: 600;
}
.film-description {
	font-size: 16px;
	font-weight: 400;
}

/* Comments section */
.comments__container {
	width: 100%;
	border-radius: 20px;
	overflow: hidden;
	margin-top: 40px;
}

.hide-section {
	display: none !important;
}

.comments__btns {
	flex-wrap: nowrap;
}
.comments-tabs {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 10px solid #60a9ff;
	font-size: 1.5rem;
}

.comments-tab-btn {
	padding: 15px 10px;
	border: none;
	cursor: pointer;
	font-size: 17.5px;
}
.comments__current {
	background: #60a9ff;
	color: #fff;
	font-weight: 600;
}

.comments-hide-btn {
	font-weight: 400;
	color: #60a9ff;
	margin: 0 80px;
	position: relative;
    font-size: 17.5px;
}
.comments-hide-btn::after {
	content: "";
	background: url("../media/serialPage/comments/arrow.png") no-repeat;
	background-size: contain;
	background-position: center;
	height: 100%;
	width: 40px;
	position: absolute;
	right: -40px;
	transition: all 0.5s;
}
.clicked::after {
	transition: all 0.5s;
	transform: rotate(180deg);
}

.comments__content {
	padding: 40px 80px;
    background-color: #bdbcbc;
}
.comments-tree-item {
	border-radius: 20px;
    background: #60a9ff;
}
#dle-comments-form {
	 width: 100%;
}
.comm {
	background: #fff;
    border-radius: 30px;
    padding: 60px 20px 20px;
    display: flex;
    align-items: stretch;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    width: 100%;
}
.f_input {
    width: 100%;
    min-width: 150px;
    height: 35px;
    padding: 0 10px;
    border: 0px;
    background: #d9d9d9;
    color: #111;
    margin: 0 0 10px 0;
}
#dle-content {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.comments-section {
	display: flex;
	align-items: center;
	flex-direction: column;
	width: 100%;
	gap: 40px;
}

.login-message {
	font-weight: 600;
	padding: 25px 130px;
	border: 1px solid #000;
	border-radius: 10px;
	text-align: center;
    background: #ffffff;
}
.login-message a {
	color: #60a9ff;
	text-decoration: underline;
}

.comments__wrapper {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 60px;
}
.comment-item {
	display: flex;
	align-items: flex-start;
	gap: 60px;
}
.avatar__wrapper {
	width: 100px;
	display: flex;
	align-items: stretch;
	flex-direction: column;
}

.comment__likes {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	width: 100%;
	gap: 5px;
}

.avatar {
	width: 100%;
	height: 100px;
	border: 5px solid #60a9ff;
	border-radius: 10px;
	background: #d9d9d9;
}

.like-dislike-btn {
	border: none;
	cursor: pointer;
}

.comment-content {
	background: #fff;
	width: 100%;
	position: relative;
	padding: 10px 50px 60px;
	border-radius: 20px;
	z-index: 10;
}
.comment-content::before {
	content: url("../media/serialPage/comments/Rectangle101.png");
	position: absolute;
	width: 40px;
	height: 40px;
	top: 5px;
	left: -15px;
	z-index: -100;
}

.comment-data {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}
.user-data {
	font-size: 16px;
	color: #60a9ff;
	position: relative;
	font-weight: 400;
	padding:0 0 0 20px;
}
.user-data span {
	color: #bebdbd;
}
.user-data::before {
	content: "";
	background: url("../media/serialPage/comments/user-svgrepo-com1.png")
		no-repeat;
	height: 100%;
	width: 30px;
	background-size: contain;
	background-position: center;
	position: absolute;
	left: -20%;
	top: 0;
}

.comment-date {
	font-size: 1rem;
	color: #9a9898;
	font-weight: 400;
}
.comment-text {
	font-size: 16px;
	font-weight: 400;
}

/* Reviews section */
.reviews__container {
	width: 100%;
	overflow: hidden;
	border-radius: 20px;
}

.reviews-tab-btn {
	padding: 15px 10px;
	border: none;
	cursor: pointer;
	font-size: 17.5px;
}

.reviews__wrapper {
	display: flex;
	align-items: stretch;
	flex-direction: column;
	padding: 40px 15px 15px;
	background: #fff;
}

.review-item {
	border-radius: 20px;
	border: 3px solid #d9d9d9;
	display: flex;
	align-items: flex-start;
	padding: 40px;
	gap: 10px;
}

.review-avatar {
	background: #d9d9d9;
	border: 3px solid #939090;
	border-radius: 10px;
	width: 100px;
	aspect-ratio: 1;
}

.review-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	gap: 7px;
}

.review-username {
	font-size: 16px;
	color: #60a9ff;
}
.review-username span {
	color: #727273;
}

.review-text {
	font-size: 16px;
}

.review-date__container {
	display: flex;
	justify-content: flex-end;
	font-size: 1rem;
	margin-top: 25px;
	width: 100%;
	color: #7c7b7b;
	align-items: center;
	gap: 5px;
}


/*  Большие мониторы (1440px и выше) */
@media (min-width: 4000px) {
    .serial-image {
        width: 3vw;
        height: 400px;
    }
   .mainContainer {
    max-width: 4000px;
   }
}

/*  Большие мониторы (1440px и выше) */
@media (min-width: 2100px) {
    .serial-image {
        width: 12vw;
        height: 400px;
    }
   .mainContainer {
    max-width: 3000px;
   }
}

/*  Full HD экраны (1200px и выше) */
@media (min-width: 2100px) {
    .serial-image {
        width: 6vw;
        height: 440px;
    }
}

/*  Десктопы (1024px и выше) */
@media (max-width: 1024px) {
    .serial-image {
        width: 8vw;
        height: 220px;
    } 
    
}

@media (max-width: 1200px) {
	.recommendations__container {
		flex-direction: column;
	}
	
	
.serial-data {
	width:calc(50% - 10px);
}
	
	
}

@media (max-width: 1170px) {
	
    .serial-details__container {
		flex-direction: column;
		align-items: stretch;
	}
    
	.roles__container {
		max-width: none;
		width: 100%;
	}
	.actors__wrapper {
		width: 100%;
	}

	.player__upper-btns {	}
	.player-btn {
		padding: 5px 10px;
		font-size: 0.75rem;
	}
}

@media (max-width: 1000px) {
	
    .serial-info__container {
		flex-direction: column;
		align-items: center;
		gap: 30px;
	}
    
}

@media (max-width: 960px) {
	.translations__container {
		flex-direction: column;
		gap: 20px;
		margin-top: -15px;
		padding: 0;
	}
    .translations-popularity {
    top: 15px;
    }
    .seasons_menu li {
    font-size: xx-small;
    }
     .tabs-translate-element {
    font-size: xx-small;
    }
	.translations__wrapper {
		margin: 0 auto;
		flex-wrap: wrap;
		justify-content: center;
	}

	/* Comments */
	.comments-tabs {
		font-size: 0.75rem;
	}
	.comments-tab-btn {
		font-size: 0.75rem;
		padding: 10px;
	}

	.comments-hide-btn {
		margin: 0 30px;
	}

	/* Reviews section */
	.reviews-tab-btn {
		font-size: 0.75rem;
		padding: 10px;
	}
}

@media (max-width: 768px) {
    
    .serial-image {
    height: 100%;
    width: 30vw;    
       }
    .translations-popularity {
    top: 15px;
    }
	.seasons_menu li {
    font-size: xx-small;
    }
    .tabs-translate-element {
    font-size: xx-small;
    }
	.serial-data {width:100%;}
	
	.player__upper-btns {}
   .player-btns {
		font-size: 1.1rem;
		padding: 5px;
	}
	.player-btn {
		font-size: 0.3rem;
		padding: 5px;
	}
	.player-btn__icon {
		width: 14px;
	}

	.film-card {
		flex-direction: column;
		align-items: center;
	}

	/* Comments */
	.login-message {
		padding: 10px;
		width: 100%;
	}

	.comment-item {
		gap: 15px;
	}
	.comments__content {
		padding: 20px 10px;
	}

	.comment-content {
		padding: 5px 10px 20px;
	}

	.user-data {
		right: -20px;
	}
	.user-data::before {
		width: 15px;
		height: 15px;
	}

	.comment-item * {
		font-size: 0.8em;
	}

	/* Reviews section */
	.review-content * {
		font-size: 0.9em;
	}
}

@media (max-width: 480px) {
	.player__upper-btns {}

	.translations-title {
		font-size: 0.75rem;
	}

	.recommendations-badge {
		right: 0;
		width: 100%;
		text-align: center;
	}

	/* Reviews section */
	.review-content * {
		font-size: 0.7em;
	}
}


.serial-list-dat {
    width: 100%;
    background: #ffffff;
    border-radius: 50px;
    padding: 15px;
    box-sizing: border-box;
    /* border: 2px solid #d9d9d9; */
}
.video-element {
   height: 40em;
   margin: 0px 6px 0px 6px;
    }
.tabs-translate-element {
    background: #2b2a2a;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 10px 10px 15px;
    border: none;
    color: #fff;
    cursor: pointer;
    appearance: auto;
   }  
.tabs-translate-element__active {
	color: #ff8822
}


.pgs-mark_line-cur {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background-color: #f5f5f5;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-family: Arial, sans-serif;
    font-size: 14px;
    max-width: 250px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

#markGoTo {
    color: #333;
    font-weight: bold;
    white-space: nowrap;
    cursor: pointer;  /* Указывает, что элемент кликабелен */
}

#markRemove {
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: #ff4d4d;
    padding: 2px 5px;
    border-radius: 50%;
    transition: all 0.2s ease-in-out;
}

#markRemove:hover {
    background-color: #ff4d4d;
    color: white;
}

#markRemove:active {
    transform: scale(0.9);
}

/* Скрываем крестик, если span #markGoTo пустой */
#markGoTo:empty + #markRemove {
    display: none;
}




/* Скрыть все блоки плееров */
.video {
    display: none;
    position: relative;
}

/* Сделать видимым только активный плеер */
.video.active {
    display: block;
}

.player-btns {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid #007bff;
    background-color: #fff;
    color: #007bff;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.player-radio:checked + label {
    background-color: #007bff;
    color: #fff;
}

.player-btns:hover {
    background-color: #e2e6ea;
}

/* Скрываем радиокнопки */
.player-radio {
  display: none;
}



.seasons_menu-wrapper {position:relative;}

.player-btnso {
    background: #000;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 10px 7px;
    cursor: pointer;
    min-width: 12%;
}
/* Стили для меню */
.seasons_menu {
    display: none; /* Скрыто по умолчанию */
    transition: max-height 0.3s ease-out; /* Плавное раскрытие */
    border: 1px solid #425859;
    border-radius: 4px; /* Скругленные углы */
    padding: 0; /* Убираем отступы */
    position: absolute;
    z-index: 999;
	top:100%;
	right:0px;
}

/* Стиль при активном меню (когда меню раскрыто) */
.seasons_menu.is-active {
display: block; /* Меню отображается */
background: #000;
padding: 15px;
}

.seasons_menu li {display:flex; align-items:center; gap:5px; padding:5px 0;}




.is-active {
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}
/* Стили для пункта меню */
.seasons_menu li {
    cursor: pointer; /* Курсор в виде указателя */
    transition: background-color 0.2s ease-in-out; /* Плавное изменение фона */
    list-style-type: none; /* Убираем маркеры */
}

/* Эффект при наведении */
.seasons_menu li:hover {
   background-color: rgb(71 65 149 / 70%);
}

/* Стили для кнопки меню */
#menuToggle {
    cursor: pointer; /* Курсор в виде указателя */
    padding: 10px 15px; /* Отступы */
    background-color: #007bff; /* Цвет фона */
    color: #fff; /* Белый текст */
    border: none; /* Без границы */
    border-radius: 4px; /* Скругленные углы */
    transition: background-color 0.2s ease-in-out; /* Плавное изменение фона */
}

/* Изменение фона кнопки при наведении */
#menuToggle:hover {
    background-color: #0056b3;
}


.seasons_menu-wrapper {
    align-items: center;
    border-radius: 5px 5px 0 0;
    display: table-cell;
    vertical-align: bottom;
    white-space: nowrap;
    }

.series-card__title-wrapper .button {
    width: 90px;
    background-color: #60a9ff;
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-weight: 700;
    font-size: 10px;
    margin: 20px auto 0;
    display: block;
    cursor: pointer;
    padding: 9px;
    text-align: center;
}
.series-card__title-wrapper .button {
    display: none;
}
.series-card__title-wrapper .button {
    display: block;
}





/* Стили для загрузочной анимации */
#loading-layer {
    display: none;
    /* position: absolute; */
    /* left: 0%; */
    /* top: 50%; */
    /* transform: translate(11%, -50%); */
    /* z-index: 9999; */
}

#loading-layer.withtext {
    color: #ffffff;
    font-size: 16px;
}

#loading-layer svg {
    /* width: 100px; */
    /* height: 100px; */
    display: none;
}
#my-container {
    border-radius: 32px;
    background: #325b2b;
    /* position: relative; */
    /* height: 12em; */
    /* left: 10%; */
    /* top: 34%; */
    /* transform: translate(20%, 95%); */
    display: none;
    /* width: 106px; */
}
.card {
  padding: 8px 5px 8px;
  border-radius: 10px;
  display: none;
  flex-direction: column;
  gap: 20px;
}

.card.has-links {  
  display: block;
}
.back {
background: #f0f0f0;
}
li:has(#markGoTo:empty) {
    display: none;
}

.serial-strin {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.mylist_tag_1  {
    display: none;
}
.mylist_tag_2  {
    display: none;
}
.mylist_tag_3  {
    display: none;
}
.mylist_tag_4  {
    display: none;
}
.mylist_tag_5  {
    display: none;
}
.mylist_tag_6  {
    display: none;
}
.mylist_tag_7  {
    display: none;
}
.mylist_tag_8  {
    background-image: url('../../images/iconse.png');
    width: 16px;
    height: 20px;
    left: 0;
    position: absolute;
    background-color: #fff;
}
.mylist_tag_8::after {
    content: "Отметка на серии или на моменте"; /* Твой текст */
    position: absolute;
    top: 100%; /* Располагаем ниже */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap; /* Чтобы текст не переносился */
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mylist_tag_8:hover::after {
    opacity: 1;
    visibility: visible;
}

.url {
    display: contents;
    text-decoration: none;
}
.card:has(#dle:not(:empty)) ~ .alphabet__container {
    display: none;
}
.htop {
    display: block;
    color: #000;
    width: 100%;
    padding: 15px;
    border-radius: 20px;
    border: 3px solid #d9d9d9;
    background: #fdfdfd;
}



.actors__wrapper a img {
  transition: transform 0.3s ease;
}

.actors__wrapper a:hover img {
    border-radius: 2px;
    transform: scale(4.15);
}

.navigation a
 {
    background: #c51414;
    border-radius: 5px;
    padding: 0.3em 0.5em;
    color: #fdfdfd;
}
.search-form.active  {
    display: flex !important;
    position: absolute !important;
    top: 100%;
    left: 0px;
    right: 0px;
    z-index: 9;
    width: auto !important;
    background: #fff;
    }
.search-form.active .search-input {
  display: block !important;
}