* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}
table, img, td, tr {
padding: 0;
margin: 0;
border: none;
}
input, button, select, textarea {
outline: none;
font-family: Roboto, Arial, sans-serif;
font-size: 100%;
font-weight: normal;
}
.hidden {display: none;}

.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6 {
color: black;
font-family: Roboto, Arial, sans-serif;
}
h1,h2,h3,h4,h5,h6 {
font-size: 100%;
font-style: normal;
font-weight: normal;
margin: 0;
padding: 0;
}

img {
border: 0 none;
margin: 0;
padding: 0;
}
ul,ol {
list-style: outside none none;
margin: 0;
padding: 0;
}
a {
color: black;
text-decoration: none;
}
a:hover {
color: black;
text-decoration: underline;
}
a.footer_menu:hover {
color: white;
}
a:link, a:visited, a:focus, a:hover {
text-decoration: none;
outline: none;
}
.authorlinkonline {
color: #256799;
}

.authorlinkonline:hover {
color: #256799;
}
.authorlinkonline:hover{
text-decoration: underline;
}

.floatleft {
float: left;
}
.floatright {
float: right;
}
.clr {
background: transparent none repeat scroll 0 0;
border: 0 none;
clear: both;
display: block;
float: none;
font-size: 0;
height: 0;
list-style: outside none none;
margin: 0;
overflow: hidden;
padding: 0;
visibility: hidden;
width: 0;
}

body {
min-width: 320px;
overflow-x: hidden;
margin: 0;
padding: 0;
font-family: Roboto, Arial, sans-serif;
}


.container {
padding: 0 20px;
}
.mega_container {
max-width: 1200px;
margin: 0 auto;
z-index: 100;
min-width: 320px;
}
.container_gads {
width: 100%;
min-width: 100%;
min-height: 280px;
padding: 10px 0;

}
.container_gadsfix{
width: 100%;
min-width: 100%;
min-height: 280px;
padding: 10px 0;
display: flex;
align-items: center;
justify-content: center;
}
/** end common*/
.header {
background-color: #000;
}
.headerbottom {
background-color: #ffd600;
width: 100%;
height: 70px;
color: #ffd600;
}
.header__inner {
min-height: 65px;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo:hover {
cursor: pointer;
}

#logo_640 {
display: none;
}

.menu_btn {
width: 36px;
height: 36px;
background-color: #fff;
border: none;
position: relative;
font-size: 9px;
padding-top: 23px;
}
.menu_btn::after {
content: "";
width: 28px;
height: 3px;
background-color: #000;
position: absolute;
top:  7px;
left: 4px;
box-shadow: 0 4px 0 0 #000, 0 8px 0 0 #000;
}
button.menu_btn {
padding: 0;
padding-top: 23px;
}
.search__inner {

width: 60%;
padding-left: 0.5rem;
padding-right: 0.5rem;
color: #303030;
}


#searchbox_table {
width: 100%;
}
#search_input_place {
border: 1px solid #ffffff;
position: relative;
}
#search_stext {
width: 100%;
height: 2rem;
padding-left: 1rem;
padding-right: 1rem;
background: none;
border: none;
font-size: 100%;
color: #ffffff;
}
#search_button_place {
background: #ffffff;
width: 2rem;
height: 2rem;
vertical-align: middle;
}
#search_button {
width: 100%;
}
#searchresult {
z-index: 5000;
position: absolute;
background: #ffffff;
width: 100%;
top: 2.4rem;
padding-top: 0.5rem;
box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.8);
display: none;
font-size: 13px;
}
.search_item, .no_result {
display: block;
padding-left: 1rem;
padding-right: 1rem;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}

.search_item:hover {
background: #a71b1e;
color: #fff;
text-decoration: none;
}

#menu {
background-color: white;
width: 100%;
box-shadow: 0px 6px 5px 0px rgba(0,0,0,0.61);
position: fixed !important;
top: 4.2rem;
z-index: 10001;
display: none;
margin: 0 auto;
width: 100%;
overflow: auto;
max-height: 270px;
}
.menu_btn:hover {
cursor: pointer;
}
.menu_box {
padding: 10px;
}
.menu_box_title {
font-size: 1.2rem;
padding: 5px;

}

.menu-li-next { padding: 5px;}
.menu_box_li {
width: 100%;
font-size: 0.9rem;
padding: 10px 0 15px 0;
}
@media (min-width: 640px) {
.menu_box_li {
width: 30%;
float: left;
}
}
@media (min-width: 960px) {
.menu_box_li {
width: 15%;
}
}
.menu-li-next:hover a:hover {
color:#a71b1e;
}
/** end header mobf */
.footer {
background: linear-gradient(to top, #a71b1e 0%, #9d1d1e 100%);

padding: 2% 0;
max-width: 100%;
}
.footer_content {
padding: 1.5% 4% 1%;
}
.footer_title {
color: white;
font-size: 16px;
font-weight: bold;
margin: 0 0 30px;
}
@media (min-width: 640px) {
.footer_title {
font-size: 18px;
}
}
@media (min-width: 960px) {
.footer_title {
font-size: 20px;
}
}
.footer_copyright {
font-size: 14px;
border-top: 1px solid #000;
margin: 30px 0 0;
padding: 25px 0 5px;
}
@media (min-width: 320px) {
.footer_copyright {
font-size: 12px;
}
}
@media (min-width: 1024px) {
.footer_copyright {
font-size: 14px;
}
}
.footer_box::after {
clear: both;
}
.footer_box::after {
content: "";
display: table;
}
.footer_box {
margin: 10px 0;
width: 100%;
}
.footer_box_li {
float: left;
width: 13%;
min-width: 100px;
}
@media (min-width: 320px) {
.footer_box_li {
width: 50%;
}
}
@media (min-width: 960px) {
.footer_box_li {
width: 25%;
}
}

@media (min-width: 1024px) {
.footer_box_li {
width: 18%;
}
}
.footer_box_li ul {
padding: 0 0 3%;
width: 100%;
}
.footer_box_li li {
height: 25px;
padding: 0 0 5px;
}
.footer_box_title {
color: #000;
display: block;
font-size: 14px;
padding: 0 0 2px;
}
@media (min-width: 1024px) {
.footer_box_title {
font-size: 16px;
}
}
.footer_menu {
color: white;
font-size: 12px;
}
@media (min-width: 1024px) {
.footer_menu {
font-size: 14px;
}
}
.footer_menu:hover{
text-decoration: underline;
}
/** end footer mobf */

.seriya_top {
justify-content: left;
width: 100%;
}


#container_seriya_title {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
width: 100%;
padding: 0.5rem;
}
@media (min-width: 478px) {
#container_seriya_title {
width: 100%;
}
}

@media (min-width: 700px) {
#container_seriya_title {
padding-left: 15px;
}
}
@media (min-width: 800px) {
#container_seriya_title {


}
}
@media (min-width: 1000px) {
#container_seriya_title {

}
}
#seriya_title {
width: 100%;
font-size: 24px;
text-align: center;
}

@media (min-width: 350px) {
#seriya_title {
font-size: 26px;
}
}
@media (min-width: 600px) {
#seriya_title {
text-align: left;
padding-left: 30px;
}
}


#seriya_title h1{
color: #000;
}
@media (min-width: 600px) {
#seriya_title h1{
padding: 20px 0;
}
}



.container_seriya {
display: flex;
flex-wrap: wrap;
gap: 20px;
align-items: flex-start;
width: 100%;
}

.container_seriya_poster {
flex: 0 0 280px;
max-width: 280px;
padding-right: 0;
}

.container_seriya_body {
flex: 1 1 0;
min-width: 0;
}

.container-video {
width: 100%;
flex: 0 0 100%;
background: #fff;
display: block;
padding: 0 15px;
box-sizing: border-box;
}

@media (max-width: 768px) {
.container-video {
padding: 0 12px;
margin-top: 15px;
}
}

@media (min-width: 600px) {
.container_seriya_poster{
align-self: flex-start;
}
}




#main_poster {
border: 1rem solid #f1eeee;
}

@media (min-width: 320px) {
#main_poster {
width: 60%;
}
}


#showserial {
width: 100%;
}
@media (min-width: 600px) {
#showserial{
margin-top: 0;
}
}
.shserial-right {
vertical-align: top;

}
.serial-info-box {
padding-left: 0;
}
.serial-info-th {
min-width: 120px;
font-weight: normal;
color: #6b6b6b;
text-align: left;
vertical-align: top;
width: 30%;
font-size: 14px;
line-height: 25px;
}
.serial-info-td {
color: #414042;
font-weight: 400;
line-height: 25px;
padding-bottom: 5px;
vertical-align: top;
font-size: 13px;
}
.serial-info-tdth{
line-height: 15px;
}
@media (min-width: 320px) {
.serial-info-tdth,.serial-info-td,.serial-info-th{
line-height: 25px;
}
}
@media (min-width: 478px) {
.serial-info-tdth,.serial-info-td,.serial-info-th{
line-height: 25px;
}
}
.serial-info-tdth a:hover{
text-decoration: underline;
}

.serial-info-box b {
color: black;
}
.zhra, .zhra a{
line-height: 25px;
font-size: 14px;
}
.actors_title {
text-transform: uppercase;
font-weight: 700;
color: black;
font-size: 12px;
}
.container_show_video {
width: 100%;
padding: 5px;
text-align: left;
}

@media (min-width: 320px) {
.container-video {
min-height: 260px;
}
}
@media (min-width: 478px) {
.container-video {
min-height: 330px;
}
}
@media (min-width: 640px) {

.container-video {
min-height: 380px;
}
}
@media (max-width: 768px) {
.container_seriya {
flex-direction: column;
gap: 16px;
}

.container_seriya_poster,
.container_seriya_body,
.container-video {
width: 100%;
max-width: 100%;
flex: none;
}

.container_seriya_poster {
text-align: center;
}

.seriya_poster,
.title-main__watch-btn,
#main_poster_show {
margin-left: auto;
margin-right: auto;
}
}

/** end seriya */

.box_graph_similar_graph {
width: 100%;
padding: 30px 0;
}
.titlesoc {
font-size: 18px;
margin: 10px 0;
}
.container-graphik {
min-width: 320px;
overflow: auto;
max-height: 330px;
font-size: 13px;
}
.graphtable {
width: 100%;
border: 1px solid black;
border-collapse: collapse;
}
.graphbody{
padding: 10px;
}
.graphtable td {
border: 1px solid black;
padding: 5px;
}
.accessvideo a:hover {
text-decoration: underline;
}
/** Start show page */
h1.serial-title {
font-family: Roboto,Arial,sans-serif;
font-size: 26px;
font-weight: 300;
margin-bottom: 15px;
text-transform: none;
}

.container_show {}

.serial-info-description {
width: 100%;
flex: 0 1 auto;
justify-content: space-between;
align-content: flex-start;
flex-wrap: wrap;
min-width: 0;
clear: both;
}
.serial-info-description__title {
text-transform: uppercase;
font-size: 15px;
font-weight: 700;
width: 100%;
min-width: 0;
padding: 10px 0;
}
.serial-info-description__txt {
color: #414042;
font-size: 13px;
line-height: 1.7rem;
width: 100%;
min-width: 0;
}
.container_seriya_poster_show {
width: 100%;
align-self: center;
text-align: center;
display: block;
position: relative;
}

@media (min-width: 350px) {
.container_seriya_poster_show {
text-align: left;
padding-left: 10px;
}
}


#main_poster_show {
width: 100%;
max-width: 280px;
}

.container_show_desc {
width: 90%;
padding: 5px 10px;
padding-bottom: 25px;

}


@media (min-width: 478px) {
.container_show_desc {
width: 90%;
}
}
.container_show_body {
width: 90%;
padding: 5px;
}
.rating {
width: 70px;
height: 16px;
background: url("../images/ratinggrey-cat.png") no-repeat left;
float:left;
margin-right: 5px;
}
.rating__stars {
background: url(../images/rating-kinopoisk.png) no-repeat left;
height: 16px;
}
.ratingkt__stars {
background: url("../images/rating-kinoteatr.png") no-repeat left;
height: 16px;
}
.ratingfx__stars {
background: url("../images/rating-rosserial.png") no-repeat left;
height: 16px;
}
.ratpl {
margin-left:2px;
margin-right: 2px;
}
.rezhisser_box {
padding: 5px;
}
.actors_title {
text-transform: uppercase;
font-size: 14px;
font-weight: 700;
}
.authorlinkonline {
color: #256799;
font-size: 13px;
}
.authorlinkonline:hover {
color: #256799;
}
.one_actor_box {
float: left;
width: 120px;
height: 60px;
padding-right: 10px;
word-spacing: 60px;
}
.allactor_box {
display: table;
padding: 5px;
}
.actor_image{
border-radius: 50%;
margin-left: -28px;
position: absolute;
}


.box_actors_all a {
color: #000;
font-size: 13px;
text-align: left;
width: 100px;
padding-left: 2.5em;
display: inline-block;
margin: 1.1em 0;
vertical-align: middle;

}
.box_actors_all a:hover {
color:black;
}
.pinfo {
padding: 0 5px 10px 5px;
font-size: 16px;
}
.pinfo h2 {
color: black;
font-size: 22px;

}
/** Player */
.container_seasons {
padding: 10px 5px;
}
.floatleft {
float: left;
}
.seasonnumberactive {
background-color: #db5c4c;
padding: 4px 10px;
color: white;
border-radius: 5px;
margin-bottom: 5px;
margin-right: 5px;
font-size: 12px;
}
.seasonnumber {
padding: 4px 10px;
color: white;
background-color: black;
border-radius: 5px;
margin-bottom: 5px;
margin-right: 5px;
font-size: 12px;
}
.seasonlink {
color: white;
font-size: 12px;
}
.seasonlink:hover {
color: white;
text-decoration: underline;
}

.container-video-show {
width: 100%;
background-color: black;
height: 100%;
display: table;
}
.container-player-online  {
width: 100%;
max-height: 300px;
}

.container-playlist-online {
width: 100%;
min-width: 110px;
overflow:auto;
height: auto;
max-height: 300px;
background-color: black;
}

.playlist-header {
background-color: black;
text-align: center;
border-top: 1px solid #222222;
}
.playlist-header-content {
font-size: 14px;
height: 18px;
line-height: 1.4;
padding: 5px 5px 8px;
color: #fff;
border-top: 1px solid #222222;
}
.playlist-header-content:before {
content: '☰';
padding-right: 7px;
}
.ul-playlist li.playlist-active {
background-color: black;
color: white;
cursor: default;

}
.ul-playlist-seriya div.playlist-active {
background-color: #222222;
color: white;
cursor: default;

}
.playlist-active:before {
content: '▸';
color: #db5c4c;
padding-right: 5px;

}

.playlist-seriya-active:before {
content: '▸';
color: #db5c4c;
padding-right: 5px;
float: left;

}
.plyoutube {color: #ff0000}
.plntv {color: #25c443}
.plone {color: #446bae}
.plrus {color: #446bae}
.plctc {color: #f8cf43}
.plplus {color: #8f1224}
.plrutube {color: #c3c3c3}

.ul-playlist{width: 100%}
.ul-playlist li {
color: #cacaca;
text-align: left;
padding: 7px 7px 7px 10px;
background-color: #222222;
border-bottom: 1px solid black;
font-size: 12px;
}
.ul-playlist li:hover {
color: white;
background-color: black;
cursor: pointer;
border-bottom: 1px solid #222222;
}
/** start no video */
.video_no {
display: block;
width: 100%;
height: 100%;
}


.video_no_inner {
margin: 0 auto;
position: relative;
max-width: 85%;
text-align: center;
justify-content: center;
display: flex;
padding-top: 80px;
min-height: 200px;
}

@media (min-width: 400px) {
.video_no_inner {
padding-top: 80px;
}
}
@media (min-width: 500px) {
.video_no_inner {
padding-top: 60px;
}
}
@media (min-width: 600px) {
.video_no_inner {
padding-top: 80px;
}
}


.video_no_icon_container {
padding-top: 70px;
height: 76px;
width: 76px;
min-width: 76px;
min-height: 76px;
float: left;
text-align: left;
}
@media (min-width: 600px) {
.video_no_icon_container {
padding-top: 70px;
height: 96px;
width: 96px;
}
}

.video_no_content_wrap {
padding-top: 30px;
margin-top: auto;
margin-bottom: auto;
margin-left: 16px;
height: 100%;

}
.video_no_content-wrap-reason{
font-size: 16px;
font-weight: 500;
text-align: left;
padding-bottom: 10px;
}
@media (min-width: 500px) {
.video_no_content-wrap-reason {
font-size: 20px;
}
}
@media (min-width: 600px) {
.video_no_content-wrap-reason {
font-size: 24px;
}
}
.video_no_content-wrap-subreason {
font-size: 12px;
font-weight: 500;
text-align: left;
}
@media (min-width: 500px) {
.video_no_content-wrap-subreason {
font-size: 14px;
}
}
@media (min-width: 600px) {
.video_no_content-wrap-subreason {
font-size: 16px;
}
}


.video_no_content-wrap-subreason_link {
padding-top: 10px;
}
.video_no_content-wrap-subreason_link a{
color: #fff;
text-decoration: underline;
}
/** end no video */
.seriya_actorsrezh {
width: 100%;
padding: 10px;
}
.h2-title-show {
width: 90%;
padding: 30px 0 20px 5px;
font-size: 20px;
}
@media (min-width: 640px) {
.h2-title-show {
width: 90%;
padding: 30px 0 20px 5px;
font-size: 24px;
}
}
.container-rezhisser {
width: 90%;
padding: 10px 0 10px 5px;
}
.rezhisser_box {
width: 100%;
}
.rezhisser-link {
font-size: 14px;
}
.rezhisser-link:hover {
text-decoration: underline;
}
.container-actors {
width: 90%;
padding: 0 0 10px 5px;
}
.video-container-main {
width: 100%;
min-height: 380px;
background: #000;
}
.video-container-player {
background: #000;
color: #fff;
padding: 0;
position: relative;
}
.video-container-iframe {
background: #000;
margin-bottom: 4px;
}
.video {
height: 360px;
}
.ozv_container {
display: flex;
padding-bottom: 10px;
font-size: 13px;
}
.margin-top-20 {
margin-top: 20px;
}
.ozv_title_main {
width: 81px;
}
.ozv_title_main_info {
width: 130px;
}
.ozv_title_item {
padding-bottom: 5px;
}
a.link-serial-info {
font-size: 14px;
color: #ff6666;

}
a.link-serial-info:hover {
text-decoration: underline;
}

.early-access {
margin-top: 5px;
padding-left: 10px;
background: #e50914;
color: #fff;
font-size: 15px;
line-height: 1.5;
border-radius: 2px;
}

.serials-row {
margin: 5px 0;
position: relative;
}

.serials-row__top {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
margin-bottom: 10px;
}

.serials-row__title {
margin: 0;
font-size: 24px;
line-height: 1.15;
font-weight: 400;
color: #2f2f2f;
}

.serials-row__nav {
display: flex;
gap: 8px;
flex-shrink: 0;
}

.serials-row__arrow {
width: 36px;
height: 36px;
border: 1px solid #d8d8d8;
background: #fff;
color: #333;
font-size: 24px;
line-height: 1;
border-radius: 50%;
cursor: pointer;
transition: all 0.2s ease;
}

.serials-row__arrow:hover {
background: #f3f3f3;
border-color: #c6c6c6;
}

.serials-row__viewport {
display: flex;
gap: 10px;
overflow-x: auto;
overflow-y: hidden;
scroll-behavior: smooth;
cursor: grab;
user-select: none;
-webkit-user-select: none;
scrollbar-width: thin;
scrollbar-color: #c1c1c1 #f1f1f1;
}

.serials-row__viewport.is-dragging {
cursor: grabbing;
scroll-behavior: auto;
}

.serials-row__viewport::-webkit-scrollbar {
height: 8px;
}

.serials-row__viewport::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 10px;
}

.serials-row__viewport::-webkit-scrollbar-thumb {
background: #c1c1c1;
border-radius: 10px;
}

.serials-row__viewport::-webkit-scrollbar-thumb:hover {
background: #999;
}

.serial-card {
flex: 0 0 98px;
min-width: 98px;
text-decoration: none;
color: inherit;
}

.serial-card__poster {
position: relative;
display: block;
width: 98px;
height: 147px;
overflow: hidden;
border-radius: 3px;
background: #ececec;
margin-bottom: 8px;
}

.serial-card__poster img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.25s ease;
pointer-events: none;
}

.serial-card:hover .serial-card__poster img {
transform: scale(1.03);
}

.serial-card__rating {
position: absolute;
left: 0;
bottom: 0;
min-width: 30px;
height: 18px;
padding: 0 6px;
background: #9acb3c;
color: #fff;
font-size: 12px;
font-weight: 700;
line-height: 18px;
text-align: center;
border-top-right-radius: 4px;
}

.serial-card__name,
.serial-card__meta,
.serial-card__years {
display: block;
}

.serial-card__name {
font-size: 15px;
line-height: 1.2;
color: #2f2f2f;
margin-bottom: 3px;
}

.serial-card__meta,
.serial-card__years {
font-size: 11px;
line-height: 1.35;
color: #7c7c7c;
}
@media (max-width: 600px) {
.container_seriya_poster {
text-align: center;
}

.title-main__watch-btn {
margin: 8px 0 6px;
}
.mobile-hidden {
display: none;
}
}

@media (max-width: 768px) {
.serials-row {
margin: 24px 0;
}

.serials-row__top {
margin-bottom: 14px;
gap: 12px;
}

.serials-row__title {
font-size: 22px;
}

.serials-row__arrow {
width: 32px;
height: 32px;
font-size: 20px;
}

.serial-card {
flex: 0 0 82px;
min-width: 82px;
}

.serial-card__poster {
width: 82px;
height: 123px;
}

.serial-card__name {
font-size: 13px;
}

.serial-card__meta,
.serial-card__years {
font-size: 10px;
}
}
.title-main__watch-btn {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
min-height: 44px;
background: #2f6fed;
color: #fff;
border-radius: 8px;
font-size: 14px;
margin: 12px 0 16px;
max-width: 280px;
}

#main_poster_show {
width: 100%;
max-width: 280px;
}
.seriya_poster {
flex: 0 0 280px;
max-width: 280px;
}
.seriya_poster img {
width: 100%;
max-width: 280px;
height: auto;
object-fit: cover;
}

.status {
padding: 5px 7px;
font-size: 14px;
text-transform: uppercase;
color: rgba(0,0,0,.5);
display: inline-block;
border-radius: 2px;
margin-bottom: 6px;
}

.status--ongoing {
background-color: #43a047;
color: #FFFFFF;
font-weight: 700;
}

.status--ended {
background: #ffa798;
color: #85574f;
}

.poster-card {
position: relative;
display: inline-block;
}

.badge-corner {
position: absolute;
top: 0;
left: 0;
width: 65px;
height: 65px;
overflow: hidden;
z-index: 3;
}

.badge-corner::before {
content: '';
position: absolute;
top: 0;
left: 0;
border-top: 65px solid #43a047;
border-right: 65px solid transparent;
}

.badge-corner__text {
position: absolute;
top: 12px;
left: -10px;
width: 70px;
transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
text-align: center;
text-transform: uppercase;
font-weight: 700;
z-index: 4;
}

.badge-corner__text span {
display: block;
color: #fff;
font-size: 10px;
line-height: 1;
}

.badge-corner__text span:first-child {
margin-bottom: 1px;
}


.title-main__header {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 24px;
margin-bottom: 14px;
}

.title-main__status {
display: inline-block;
margin-bottom: 14px;
padding: 4px 10px;
background: #9bd063;
color: #2f4a18;
font-size: 14px;
line-height: 1;
text-transform: uppercase;
}

.title-main__title {
margin: 0 0 10px;
font-size: 28px;
line-height: 1.08;
font-weight: 400;
color: #111;
}

.title-main__span {
color: #FFC400;
font-size: 32px;
white-space: nowrap;
}
.seriya_top {
padding-top: 30px;
}

@media (max-width: 600px) {
.title-main__title {
max-width: 600px;
margin: 2px auto 8px;
text-align: center;
font-size: 23px;
line-height: 1.2;
}
.title-main__header-left {
text-align: center;
width: 100%;
}
.seriya_top {
justify-content: center;
width: 100%;
margin: 0 auto;
}

}





.actors-slider {
overflow-x: auto;
padding: 10px 0;
}

.actors-track {
display: flex;
gap: 12px;
}

.actor-card {
min-width: 60px;
max-width: 60px;
text-align: center;
cursor: pointer;
}

.actor-card img {
width: 100%;
height: 80px;
object-fit: cover;
border-radius: 8px;
transition: transform 0.2s;
}

.actor-card:hover img {
transform: scale(1.05);
}

.actor-name {
margin-top: 6px;
font-size: 12px;
color: #333;
}

/* убираем полоску прокрутки */
.actors-slider::-webkit-scrollbar {
display: none;
}


.actor-photo {
width: 100%;
height: 80px;
border-radius: 5px;
overflow: hidden;
background: #e5e5e5; /* серый фон */
position: relative;
}

/* картинка поверх */
.actor-photo img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

/* иконка только если нет картинки */
.actor-photo img[style*="display: none"] + .no-photo {
display: flex;
}
.review-full {
max-width: 1000px;
background: #fff; /* можно #f8f8f8 как у тебя */
padding: 40px 0;
}

.review-content {
margin: 0 auto;
font-size: 16px;
line-height: 1.6;
color: #222;
}

.review-content img {
width: 100%;
height: auto;
display: block;
margin: 25px 0;
border-radius: 6px;
}
.review-header {
max-width: 1000px;
margin: 0 auto;
font-size: 28px;
font-weight: 700;
color: #111;
position: relative;
}
.review-content img.full {
width: 100%;
border-radius: 0;
}
.episode-alert {
background: #e50914;
color: #fff;
font-weight: 600;
display: inline-block;
padding: 5px 7px;
font-size: 14px;
text-transform: uppercase;
border-radius: 2px;
margin-bottom: 6px;
}
.status-row {
display: flex;
gap: 6px;
flex-wrap: wrap;
width: 100%;
margin: 10px auto;
}

.status {
white-space: nowrap;
}

.episode-alert {
white-space: nowrap;
}


@media (max-width: 600px) {
.review-content {
font-size: 12px;
}
.review-content img.full {
width: 100%;
border-radius: 0;
}

.episode-alert {
font-size: 11px;
}


}
.premiere_hot {
background: linear-gradient(45deg, #ff0000, #ff6a00);
color: #fff;
font-size: 13px;
position: absolute;
left: 0;
padding: 3px 10px;
top: 0;
z-index: 1;
margin-top: 70px;
margin-left: 5px;
}
.premiere-line {
color: rgba(0,0,0,.8);
text-decoration-color: #959595;
text-decoration: underline;
}

.title-main__title span {
font-weight: 400;
color: #959595;
font-size: 22px;
}

.subtitle {
margin-top: 6px;
margin-bottom: 12px;
font-size: 13px;
color: #777;
}




.episodes-schedule {
margin: 40px 0;
}

.episodes-schedule__title {
margin: 0 0 10px;
font-size: 36px;
line-height: 1.2;
font-weight: 700;
color: #111;
}

.episodes-schedule__note {
margin-bottom: 18px;
font-size: 14px;
line-height: 1.45;
color: #666;
}

.player-title {
font-size: 20px;
margin: 20px 0 10px;
text-align: center;
font-weight: 600;
}
.watch-hint {
width: 100%;
display: flex;
justify-content: center;
margin-top: 12px;
padding: 12px 16px;
font-size: 14px;
color: #1f2d3d;
background: linear-gradient(90deg, #f8fff8, #f2fff5);
border: 1px solid #d8f5df;
border-left: 4px solid #2ecc71;
font-weight: 500;
}
.episode-coming {
margin: 30px auto;
padding: 25px;
max-width: 700px;
text-align: center;
background: #f8f8f8;
border-radius: 10px;
border: 1px solid #eee;
}

.episode-coming__title {
font-size: 20px;
font-weight: 600;
margin-bottom: 10px;
}

.episode-coming__text {
font-size: 14px;
color: #555;
margin-bottom: 10px;
}

.episode-coming__date {
font-size: 15px;
color: #000;
}
.episode-actions a {
padding: 8px 12px;
background: #eee;
border-radius: 6px;
text-decoration: none;
font-size: 13px;
}
.episode-actions {
margin: 20px auto 10px;
display: flex;
justify-content: center;
gap: 12px;
}

.episode-btn {
padding: 10px 16px;
background: linear-gradient(180deg, #ffffff, #f7f7f7);
border: 1px solid #ddd;
border-radius: 8px;
font-size: 14px;
color: #222;
}
.episode-btn:hover {
background: #f5f7fa;
border-color: #ccc;
}
.episode-plot {
margin-top: 20px;
padding: 20px;
background: #f8f8f8;
border-radius: 10px;
}

.episode-plot__title {
font-size: 18px;
font-weight: 700;
margin-bottom: 12px;
color: #222;
position: relative;
}

.episode-plot__title::after {
content: "";
display: block;
width: 40px;
height: 3px;
background: #e50914; /* Netflix red */
margin-top: 6px;
}

.episode-plot__text {
font-size: 14px;
line-height: 1.6;
color: #444;
}
.episode-plot__badge {
display: inline-block;
background: #e50914;
color: #fff;
font-size: 12px;
padding: 3px 8px;
border-radius: 4px;
margin-bottom: 8px;
}
.story-live {
margin-top: 30px;
padding: 20px;
background: #f8f8f8;
border-radius: 10px;
}

.story-live__title {
font-size: 20px;
font-weight: 700;
margin-bottom: 15px;
}

.story-live__item {
padding: 12px 0;
border-bottom: 1px solid #e5e5e5;
}

.story-live__item:last-child {
border-bottom: none;
}

.story-live__episode {
font-size: 13px;
font-weight: 600;
color: #e50914;
margin-bottom: 5px;
}

.story-live__text {
font-size: 16px;
line-height: 1.7rem;
color: #444;
width: 70%;
}
.story-live__new {
display: inline-block;
background: #e50914;
color: #fff;
font-size: 11px;
padding: 2px 6px;
border-radius: 4px;
margin-left: 6px;
font-weight: 600;
}
.story-live__meta {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 6px;
}

.story-live__date {
font-size: 12px;
color: #888;
}

.story-live__badge {
font-size: 11px;
font-weight: 600;
background: #e50914;
color: #fff;
padding: 2px 8px;
border-radius: 4px;
line-height: 1.2;
}
.story-live__item:hover .story-live__badge {
transform: scale(1.05);
transition: 0.2s;
}
.story-live__badge {
animation: pulse 1.5s infinite;
}
.story-live__text img {
width: 70%;
height: auto;
display: block;
margin: 25px 0;
border-radius: 6px;
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.08); }
100% { transform: scale(1); }
}
.bookmark-hint {
display: flex;
justify-content: center;
margin-top: 12px;
padding: 12px 16px;
font-size: 14px;
color: #1f2d3d;
background: linear-gradient(90deg, #f8fff8, #f2fff5);
border: 1px solid #d8f5df;
border-left: 4px solid #2ecc71;
font-weight: 500;
border-radius: 6px;
}
@media (max-width: 768px) {
.story-live__text img {
width: 100%;
}
.story-live__text {
font-size: 13px;
width: 100%;
}
.container_seriya {
flex-direction: column;
gap: 18px;
}

.container_seriya_poster,
.container_seriya_body,
.container-video {
width: 100%;
max-width: 100%;
flex: 0 0 100%;
}

.container_seriya_poster {
text-align: center;
}

.seriya_poster {
margin: 0 auto;
max-width: 280px;
}

.seriya_poster img,
#main_poster_show {
width: 100%;
max-width: 280px;
height: auto;
}

.title-main__watch-btn {
margin: 12px auto 0;
max-width: 280px;
}

.title-main__header {
display: block;
margin-bottom: 10px;
}

.title-main__header-left {
width: 100%;
text-align: left;
}

.title-main__title {
font-size: 24px;
line-height: 1.2;
margin-bottom: 8px;
}

.title-main__title span {
display: block;
font-size: 18px;
line-height: 1.35;
margin-top: 4px;
}

.subtitle {
font-size: 14px;
line-height: 1.45;
}

#showserial,
.serial-info-box,
.container_show_desc,
.h2-title-show,
.review-full {
width: 100%;
}

.serial-info-th {
min-width: 110px;
}

.actors-track {
gap: 10px;
}

.actor-card {
min-width: 58px;
max-width: 58px;
}
}


@media (max-width: 768px) {
.container_seriya_body {
text-align: center;
}

.title-main__title {
text-align: center;
}

.subtitle {
text-align: center;
}


.serial-info-box {
text-align: left; /* таблицу оставляем читаемой */
max-width: 600px;
margin: 0 auto;
}

.serial-info-box table{
max-width: 600px;
margin: 0 auto;
}
}
@media (max-width: 768px) {

.status-wrap {
display: flex;
justify-content: center;
align-items: center;
gap: 8px;
flex-wrap: wrap;
width: 100%;
}

.status,
.episode-alert {
display: inline-flex;
justify-content: center;
align-items: center;
}

}
@media (max-width: 768px) {
.actors-title {
text-align: center;
}
}
@media (max-width: 768px) {
.episode-alert {
text-align: center;
}
}
.status {
padding: 4px 10px;
border-radius: 6px;
font-size: 12px;
}

.episode-alert {
padding: 4px 10px;
border-radius: 6px;
font-size: 12px;
font-weight: 600;
}
@media (max-width: 768px) {
.title-main__header-left {
text-align: center;
width: 100%;
}

.status-row {
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
flex-wrap: wrap;
width: 100%;
margin: 10px auto;
}

.status,
.episode-alert {
white-space: nowrap;
}

.serial-info-box {
text-align: left;
}
}



.schedule-box {
background: #fff;
border: 1px solid #dcdfe3;
border-radius: 6px;
overflow: hidden;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
font-family: Arial, sans-serif;
}

.schedule-box__header {
padding: 18px;
background: #f5f6f7;
border-bottom: 1px solid #dcdfe3;
}

.schedule-season {
display: flex;
align-items: flex-start;
gap: 16px;
}

.schedule-season__poster {
width: 54px;
flex: 0 0 54px;
}

.schedule-season__poster img {
width: 100%;
display: block;
border-radius: 3px;
object-fit: cover;
}

.schedule-season__title {
font-size: 20px;
font-weight: 700;
color: #1f2b37;
margin-bottom: 8px;
}

.schedule-season__meta {
font-size: 14px;
color: #6b7785;
margin-bottom: 10px;
}

.schedule-season__mark {
font-size: 14px;
color: #6d7e90;
text-decoration: none;
border-bottom: 1px dotted #6d7e90;
}

.schedule-season__mark:hover {
color: #3b5f86;
border-color: #3b5f86;
}

.schedule-table {
width: 100%;
}

.schedule-table__head,
.schedule-row {
display: grid;
grid-template-columns: 90px 1fr 180px 120px;
align-items: center;
}

.schedule-table__head {
padding: 16px 18px;
font-size: 12px;
color: #97a2ad;
text-transform: uppercase;
border-bottom: 1px solid #e5e8eb;
}

.schedule-row {
padding: 14px 18px;
border-bottom: 1px solid #eceff2;
transition: background 0.2s ease;
}

.schedule-row:last-child {
border-bottom: none;
}

.schedule-row:hover {
background: #fafbfc;
}

.schedule-row__num {
font-size: 16px;
color: #4f6275;
}

.schedule-row__title-ru {
font-size: 16px;
font-weight: 700;
color: #1f2b37;
margin-bottom: 4px;
}

.schedule-row__title-en {
font-size: 15px;
font-style: italic;
color: #4f6275;
}

.schedule-row__date {
font-size: 16px;
color: #1f2b37;
white-space: nowrap;
}

.schedule-row__actions {
display: flex;
align-items: center;
gap: 14px;
justify-content: flex-start;
}

.schedule-action {
border: none;
background: transparent;
font-size: 28px;
line-height: 1;
color: #c6ccd3;
cursor: pointer;
padding: 0;
transition: color 0.2s ease, transform 0.2s ease;
}

.schedule-action:hover {
color: #e15b7a;
transform: scale(1.05);
}

.schedule-checkbox {
position: relative;
display: inline-flex;
cursor: pointer;
}

.schedule-checkbox input {
display: none;
}

.schedule-checkbox span {
width: 24px;
height: 24px;
border: 1px solid #cfd5db;
border-radius: 4px;
display: inline-block;
background: #fff;
transition: all 0.2s ease;
}

.schedule-checkbox input:checked + span {
background: #4d89c7;
border-color: #4d89c7;
position: relative;
}

.schedule-checkbox input:checked + span::after {
content: "";
position: absolute;
left: 7px;
top: 3px;
width: 6px;
height: 11px;
border: solid #fff;
border-width: 0 2px 2px 0;
transform: rotate(45deg);
}

@media (max-width: 900px) {
.schedule-table__head,
.schedule-row {
grid-template-columns: 70px 1fr 130px 90px;
}

.schedule-row__title-ru,
.schedule-row__date,
.schedule-row__num {
font-size: 14px;
}

.schedule-row__title-en {
font-size: 13px;
}
}
.episode-status {
display: inline-block;
font-size: 13px;
margin-top: 4px;
}

.episode-status--added {
color: #1f7a3f;
background: #e6f6ec;
padding: 3px 8px;
border-radius: 4px;
font-weight: 600;
}

.episode-status--added::before {
content: "●";
color: #28a745;
margin-right: 6px;
}

.action-watch {
color: #2ea44f;
font-weight: 600;
text-decoration: none;
flex-shrink: 0;
}

.action-empty {
color: #b8c0c8;
}

.hidden-episodes {
display: none;
}

.hidden-episodes.is-open {
display: block;
}

.schedule-toggle {
display: block;
width: 100%;
padding: 14px 16px;
margin: 0;
border: 0;
border-top: 1px solid #e3e7eb;
background: #f8f9fb;
color: #1f2b37;
font-size: 16px;
font-weight: 600;
text-align: center;
cursor: pointer;
}

.schedule-box,
.schedule-table,
.schedule-row,
.schedule-table__head,
.schedule-season,
.schedule-season__info,
.schedule-row__title,
.schedule-row__title-ru,
.schedule-row__title-en,
.schedule-row__date,
.schedule-row__actions {
box-sizing: border-box;
min-width: 0;
max-width: 100%;
}

/* desktop / tablet */
.schedule-table__head,
.schedule-row {
display: grid;
grid-template-columns: 72px minmax(0, 1fr) 120px 90px;
align-items: center;
column-gap: 12px;
}

/* <= 768 */
@media (max-width: 768px) {
.episodes-schedule__title {
font-size: 22px;
}
.episodes-schedule__note {
font-size: 12px;
}
.box_graph_similar_graph {
padding: 0;
}
.schedule-box {
overflow: hidden;
}

.schedule-table {
width: 100%;
min-width: 0;
}

.schedule-table__col--num,
.schedule-row__num {
display: none;
}

.schedule-table__head,
.schedule-row {
display: grid;
grid-template-columns: minmax(0, 1fr) 78px 44px !important;
align-items: center;
column-gap: 8px;
padding-left: 10px;
padding-right: 10px;
}

.schedule-table__col--title,
.schedule-table__col--date,
.schedule-table__col--actions {
min-width: 0;
font-size: 11px;
white-space: nowrap;
}

.schedule-row__title {
min-width: 0;
}

.schedule-row__title-ru,
.schedule-row__title-ru a {
display: block;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

.schedule-row__title-en {
min-width: 0;
}

.schedule-row__date {
font-size: 14px;
white-space: nowrap;
}

.schedule-row__actions {
display: flex;
justify-content: center;
align-items: center;
}

.action-watch {
width: 34px;
height: 34px;
min-width: 34px;
max-width: 34px;
display: inline-flex;
align-items: center;
justify-content: center;
background: #2ea44f;
border-radius: 50%;
position: relative;
font-size: 0;
color: transparent;
overflow: hidden;
}

.action-watch::after {
content: "";
width: 0;
height: 0;
border-left: 9px solid #fff;
border-top: 6px solid transparent;
border-bottom: 6px solid transparent;
margin-left: 2px;
}

.action-empty {
display: inline-block;
width: 34px;
text-align: center;
}
}

/* <= 480 */
@media (max-width: 480px) {
.schedule-table__head,
.schedule-row {
grid-template-columns: minmax(0, 1fr) 68px 40px !important;
column-gap: 6px;
padding-left: 8px;
padding-right: 8px;
}

.schedule-table__col--title,
.schedule-table__col--date,
.schedule-table__col--actions {
font-size: 10px;
}

.schedule-row__date {
font-size: 13px;
}

.episode-status {
font-size: 12px;
}

.episode-status--added {
padding: 2px 6px;
}
}
*,
*::before,
*::after {
box-sizing: border-box;
}

.container_seriya,
.container_seriya_body,
.container_seriya_poster,
.container-video {
min-width: 0;
max-width: 100%;
}
.rating-simple {
font-size: 15px;
color: #111;
}

.rating-simple span {
color: #666;
}

.rating-simple__votes {
margin-left: 6px;
font-size: 13px;
color: #777;
}
.rating-simple b {
font-size: 18px;
font-weight: 700;
color: #111;
}

.rating-simple span {
color: #666;
font-size: 14px;
}
.rating-kp b {
color: #ff6a00; /* КиноПоиск */
}

.rating-kt b {
color: #b22222; /* КиноТеатр */
}

.rating-good b {
color: #2ea44f;
}

.rating-mid b {
color: #d29922;
}

.rating-bad b {
color: #cf222e;
}

.rating-simple {
font-size: 14px;
color: #444;
}

.rating-simple b {
font-size: 18px;
font-weight: 700;
margin-right: 4px;
}

/* бренды */
.rating-kp b {
color: #ff6a00;
}

.rating-kt b {
color: #b22222;
}
.rating-simple b {
position: relative;
font-weight: 700;
font-size: 16px;
}


.title-rating {
font-size: 18px;
font-weight: 700;
margin-left: 8px;
color: #b22222;
}
.rating-value {
font-weight: 700;
margin-right: 6px;
}

.rating-meta {
color: #666;
margin-right: 6px;
}

.rating-votes {
color: #999;
font-size: 13px;
}

.rating-simple b::before {
content: "★";
margin-right: 6px;
font-weight: 700;
font-size: 16px;
}

.rating-good b::before {
color: #2ea44f;
}

.rating-mid b::before {
color: #d29922;
}

.rating-bad b::before {
color: #cf222e;
}
.rating-good b::before,
.rating-mid b::before,
.rating-bad b::before {
font-size: 16px;
}


.story-live {
background: #ffffff;
border-radius: 12px;
padding: 20px;
margin-bottom: 25px;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Заголовок */
.story-live__header {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 2px solid #f1f1f1;
}

.story-live__icon {
font-size: 20px;
}

.story-live__title {
font-size: 20px;
font-weight: 700;
color: #111;
}

/* Контент */
.story-live__content {
font-size: 15px;
line-height: 1.6;
color: #333;
}

/* Абзацы */
.story-live__content p {
margin-bottom: 12px;
}

/* Первый абзац чуть крупнее (как лид) */
.story-live__content p:first-child {
font-size: 16px;
font-weight: 500;
}
.story-live__badge {
display: inline-block;
font-size: 12px;
background: #ff3b3b;
color: #fff;
padding: 3px 8px;
border-radius: 6px;
margin-bottom: 10px;
}
.story-live__media {
margin: 20px 0;
border-radius: 10px;
overflow: hidden;
}

.story-live__media img {
width: 100%;
height: auto;
display: block;
}
.story-live__caption {
font-size: 13px;
color: #777;
padding: 8px 10px;
background: #f8f8f8;
}


.live-feed-item {
display: flex;
gap: 12px;
padding: 14px;
background-color: #f8f8f8;
border-radius: 12px;
margin-bottom: 10px;
}

.live-feed-icon {
font-size: 20px;
}

.live-feed-content {
flex: 1;
}

/* Премьера */
.live-feed-premiere {
font-size: 13px;
font-weight: 600;
color: #e50914;
margin-bottom: 6px;
}

/* Основной текст */
.live-feed-main {
font-size: 14px;
color: #333;
line-height: 1.4;
}

.live-feed-emoji {
margin-right: 4px;
}

.live-feed-fire::before {
content: "🔥";
margin-right: 6px;
}

.live-feed-tv::before {
content: "📺";
margin-right: 6px;
}
.episode-alert a {
color: white;
}
.episode-alert a:hover {
color: #333;
}

.series-seasons-block{
max-width:1200px;
margin:0 auto;
padding:10px;
}

.series-seasons-title{
font-size:14px;
font-weight:700;
margin-bottom:30px;
color:#222;
position:relative;
padding-left:20px;
}

.series-seasons-title:before{
content:'';
position:absolute;
left:0;
top:0;
width:6px;
height:100%;
background:#ffbf00;
}

.season-grid{
display:flex;
gap:25px;

overflow-x:auto;
overflow-y:visible;

padding-bottom:15px;

scroll-behavior:smooth;

-webkit-overflow-scrolling:touch;
touch-action:pan-x;

scroll-snap-type:x proximity;

-ms-overflow-style:none;
scrollbar-width:none;
}

.season-grid::-webkit-scrollbar{
display:none;
}

.season-card{
flex:0 0 auto;
width:150px;

text-decoration:none;

background:#fff;

overflow:hidden;

box-shadow:0 2px 8px rgba(0,0,0,.12);

transition:box-shadow .2s;
}

.season-card:hover{
box-shadow:0 5px 15px rgba(0,0,0,.18);
}

.season-poster-wrap{
position:relative;
}

.season-poster{
width:100%;
height:220px;
display:block;
object-fit:cover;
}

.season-rating{
position:absolute;
top:8px;
right:8px;

background:rgba(0,0,0,.8);

padding:4px 8px;

display:flex;
align-items:center;
gap:4px;
}

.star{
color:#FFD700;
font-size:14px;
}

.rating-value{
color:#fff;
font-size:13px;
font-weight:bold;
}

.season-name{
text-align:center;

padding:10px;

font-size:13px;

font-weight:600;

line-height:1.3;

color:#333;

min-height:55px;
}


/* блок похожих сериалов увеличенный */

.similar-big .serial-card{
flex:0 0 150px!important;
min-width:150px!important;
}

.similar-big .serial-card__poster{
width:150px!important;
height:225px!important;
}

.similar-big .serial-card__name{
font-size:18px;
line-height:1.3;
}

.similar-big .serial-card__meta{
font-size:13px;
}

.similar-big .serial-card__rating{
font-size:14px;
height:22px;
line-height:22px;
}


/* планшет */

@media(max-width:768px){

.season-card{
width:130px;
}

.season-poster{
height:190px;
}

.season-name{
font-size:13px;
padding:8px;
}

.similar-big .serial-card{
flex:0 0 130px!important;
min-width:130px!important;
}

.similar-big .serial-card__poster{
width:130px!important;
height:195px!important;
}

}
#player {
    height: 420px;
}

#player iframe {
    width: 100%;
    height: 100% !important;
    border: 0;
}

/* телефон */

@media(max-width:640px){
#player iframe {
    height: 360px;
}

.series-seasons-block{
padding:10px;
}

.season-card{
width:100px;
}

.season-poster{
height:140px;
}

.season-name{
font-size:12px;
padding:6px;
min-height:45px;
}

.season-rating{
padding:2px 5px;
}

.star{
font-size:11px;
}

.rating-value{
font-size:11px;
}

.similar-big .serial-card{
flex:0 0 110px!important;
min-width:110px!important;
}

.similar-big .serial-card__poster{
width:110px!important;
height:165px!important;
}

.similar-big .serial-card__name{
font-size:12px;
}

}
.serial-info-description__title_sim {
margin: 0;
font-size: 24px;
line-height: 1.15;
font-weight: 400;
color: #2f2f2f;
width: 100%;
min-width: 0;
padding: 10px 0;
}


@media (max-width: 900px) {
    .search__inner {
        display: none;
    }
}
/* =========================
   HEADER
========================= */

.header {
    position: relative;
    z-index: 1000;
}

.header__top {
    background: #000;
    color: #fff;
}

.container_header {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.header__top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 20px 0;
}

/* LOGO */

.logo {
    display: block;
    margin-left: 20px;
}

.logo img {
    display: block;
    height: 30px;
    width: auto;
    max-width: 100%;
}

/* SEARCH */

.header-search {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-search form {
    display: flex;
    align-items: center;
    background: #111;
    border: 1px solid #333;
    border-radius: 20px;
    overflow: hidden;
}

.header-search input {
    width: 400px;
    padding: 8px 15px;
    outline: none;
    transition: .2s;
    border: 1px solid #444;
    border-radius: 25px;
    color: #fff;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(6px);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}

.header-search input::placeholder {
    color: #777;
}

.header-search input:focus {
    background: #fff;
    color: #000;
}

/* SEARCH BUTTON */

.search-btn {
    margin-left: auto;
    width: 36px;
    height: 36px;
    background: #1c1c1c;
    border-radius: 8px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.icon-search {
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-radius: 50%;
    position: relative;
    box-sizing: content-box;
}

.icon-search::after {
    content: '';
    position: absolute;
    width: 7px;
    height: 2px;
    background: #fff;
    border-radius: 2px;

    right: -5px;
    bottom: -2px;

    transform: rotate(45deg);
    transform-origin: center;
}

/* SEARCH DROPDOWN */

.search-dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    background: #1c1c1c;
    border-radius: 12px;
    overflow: hidden;
    display: none;
    box-shadow: 0 10px 30px rgba(0,0,0,.6);
    z-index: 1000;
}

/* BURGER */

.burger {
    position: relative;
    width: 44px;
    height: 44px;
    margin-right: 20px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
}

.burger span {
    position: absolute;
    left: 50%;
    width: 24px;
    height: 2px;
    background: #fff;
    transform: translateX(-50%);
    transition:
            transform .25s ease,
            opacity .25s ease,
            top .25s ease;
}

.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }

.burger.is-active span:nth-child(1) {
    top: 21px;
    transform: translateX(-50%) rotate(45deg);
}

.burger.is-active span:nth-child(2) {
    opacity: 0;
}

.burger.is-active span:nth-child(3) {
    top: 21px;
    transform: translateX(-50%) rotate(-45deg);
}

/* MOBILE MENU */

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #000;
    z-index: 1001;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);

    transition:
            opacity .3s ease,
            transform .3s ease,
            visibility .3s ease;
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu .container_header {
    padding: 0 16px;
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 999;
}

.mobile-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* MENU GRID */

.menu-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px;
    padding: 30px 20px;
}

.menu-col {
    display: flex;
    flex-direction: column;
}

.menu-title {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.menu-col a {
    color: #fff;
    text-decoration: none;
    padding: 6px 0;
    font-size: 15px;
    transition: .2s;
}

.menu-col a:hover {
    color: #ff5500;
}

.pad-t-30 {
    margin-top: 30px;
}

/* RESPONSIVE */

@media (max-width:768px) {

    .header-search {
        display: none;
    }

    .search-btn {
        display: flex;
    }

    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width:769px) {

    .search-btn {
        display: none;
    }
}

@media (max-width:480px) {

    .header__top-inner {
        padding: 14px 0;
    }

    .burger {
        margin-right: 12px;
    }
}

@media (max-width:468px) {

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== HEADER ===== */
.header__top-inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== DESKTOP SEARCH ===== */
.header-search {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-search form {
    display: flex;
    align-items: center;
    background: #111;
    border: 1px solid #333;
    border-radius: 20px;
    overflow: hidden;
}

.header-search input {
    width: 400px;
    padding: 8px 15px;
    outline: none;
    transition: 0.2s;

    border: 1px solid #444;
    border-radius: 25px;
    color: #fff;

    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(6px);

    box-shadow:
            inset 0 0 0 1px rgba(255,255,255,0.1);
}

.header-search input::placeholder {
    color: #777;
}

.header-search input:focus {
    background: #fff;
    color: #000;
}

/* ===== DROPDOWN ===== */
.search-dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    background: #1c1c1c;
    border-radius: 12px;
    overflow: hidden;
    display: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    z-index: 1000;
}

/* ===== ITEM ===== */
.search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid #2a2a2a;
    cursor: pointer;
    transition: 0.2s;
}

.search-item:last-child {
    border-bottom: none;
}

.search-item:hover {
    background: #2a2a2a;
}

.search-item:active {
    transform: scale(0.97);
}

.search-item img {
    width: 45px;
    height: 65px;
    object-fit: cover;
    border-radius: 6px;
}

.search-item-title {
    font-size: 14px;
    color: #fff;
}

.search-empty {
    padding: 10px;
    color: #aaa;
}

/* ===== MOBILE BUTTON ===== */
.search-btn {
    margin-left: auto;
    width: 36px;
    height: 36px;
    background: #1c1c1c;
    border-radius: 8px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* ===== ICON ===== */
.icon-search {
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-radius: 50%;
    position: relative;
}

.icon-search::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 2px;
    background: #fff;
    right: -5px;
    bottom: -3px;
    transform: rotate(45deg);
}

/* ===== MOBILE SEARCH (FULLSCREEN) ===== */
.mobile-search {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 999999;
    display: none;
    flex-direction: column;
    opacity: 0;
    transform: translateY(-20px);
    transition: 0.25s;
}

.mobile-search.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.mobile-search-header {
    display: flex;
    gap: 10px;
    padding: 12px;
    background: #111;
    border-bottom: 1px solid #222;
}



.mobile-search-header button {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
}

.mobile-search-results {
    flex: 1;
    overflow-y: auto;
    padding: 5px 0;
}



.mobile-search-header input {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: #222;
    color: #fff;
    font-size: 16px;
    transition: 0.2s;

    /* базовая рамка */
    box-shadow: inset 0 0 0 1px #333;
}

.mobile-search-header input:focus {
    outline: none;

    /* золотое свечение */
    box-shadow:
            0 0 8px #ff5500,
            inset 0 0 0 1px #ff5500;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header-search {
        display: none;
    }

    .search-btn {
        display: flex;
    }
}

@media (min-width: 769px) {
    .search-btn {
        display: none;
    }
}
.search-item-year {
    font-size: 12px;
    color: #aaa;
}
.search-item-title {
    color: #fff;
    font-size: 14px;
}

.search-item-title span {
    color: #aaa;
}

.search-item-rating {
    color: #ff5500;
    font-size: 13px;
    font-weight: bold;
}
.year {
    color: #888;
}
.search-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.search-item-rating {
    min-width: 55px;
    text-align: right;
}
.search-item:hover {
    background: #1a1a1a;
}
.search-item img {
    filter: brightness(1.05);
}
.search-item {
    transition: all 0.15s ease;
}
.mobile-search-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #111;
    border-bottom: 1px solid #222;
    box-sizing: border-box;
}

.mobile-search-header input {
    flex: 1;
    min-width: 0;
    width: auto;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: #222;
    color: #fff;
    font-size: 16px;
    box-sizing: border-box;
}

.mobile-search-header button {
    width: 36px;
    min-width: 36px;
    height: 36px;
    flex: 0 0 36px;

    padding: 0;
    margin: 0;

    border: none;
    background: transparent;
    color: #fff;
    font-size: 20px;
}