/* Ashdivip Smart Ajax Playlist — UAKino.eu season layout, DLE 20, v2.7 */
.ashdi-smart{width:100%;min-height:120px;background:#131415;color:#fff}
.ashdi-smart__loading,.ashdi-smart__error{min-height:190px;display:flex;align-items:center;justify-content:center;gap:10px;padding:24px;text-align:center;background:#0e0f10;color:#aaa;box-sizing:border-box}
.ashdi-smart__spinner{width:24px;height:24px;border:3px solid #34373a;border-top-color:#ca563f;border-radius:50%;animation:ashdi-spin .8s linear infinite}
@keyframes ashdi-spin{to{transform:rotate(360deg)}}
.ashdi-smart__error{flex-wrap:wrap;color:#c8c8c8}
.ashdi-smart__error i{color:#ca563f;font-size:18px}
.ashdi-smart__error button{border:0;border-radius:3px;padding:7px 12px;background:#ca563f;color:#fff;cursor:pointer}

/* UAKino playlist geometry. */
.ashdi-smart .playlists-player{width:100%;background:#131415;color:#fff;overflow:hidden}
.ashdi-smart .playlists-lists,.ashdi-smart .playlists-videos{width:100%;clear:both}
.ashdi-smart .playlists-items{width:100%;overflow:hidden}
.ashdi-smart .playlists-items ul{display:flex;flex-wrap:wrap;align-items:stretch;width:100%;list-style:none;margin:0!important;padding:0!important;gap:0}
.ashdi-smart .playlists-items li{box-sizing:border-box;position:relative;display:block;margin:2px 2px 0 0!important;padding:4px 24px 4px 6px!important;min-height:25px;line-height:17px;font-size:13px;color:#fff;border:1px solid #ca563f;border-radius:2px;background:#131415;cursor:pointer;transition:background-color .12s ease,color .12s ease}
.ashdi-smart .playlists-items li:hover,.ashdi-smart .playlists-items li.active{background:#ca563f;color:#fff}
.ashdi-smart .playlists-lists .playlists-items li{flex:1 1 180px;padding-right:8px!important;text-align:left}
.ashdi-smart .playlists-videos .playlists-items li{flex:1 1 calc(20% - 2px);max-width:calc(20% - 2px)}
.ashdi-smart .playlists-videos .playlists-items li:only-child{flex-basis:100%;max-width:100%}
.ashdi-smart__hidden{display:none!important}
.ashdi-smart .playlists-iframe{width:100%;margin:2px 0 0;background:#000;overflow:hidden}
.ashdi-smart__ratio{position:relative;width:100%;height:auto!important;aspect-ratio:16/9;background:#000;overflow:hidden;min-height:0!important}
.ashdi-smart__iframe{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:100%!important;max-height:none!important;display:block!important;border:0!important;background:#000}
.ashdi-smart .playlists-view{position:absolute;right:6px;top:50%;width:13px;height:8px;transform:translateY(-50%);border:1px solid #777;border-radius:9px;opacity:.58}
.ashdi-smart .playlists-view:after{content:"";position:absolute;left:50%;top:50%;width:3px;height:3px;transform:translate(-50%,-50%);border-radius:50%;background:#777}
.ashdi-smart .ashdi-smart__watched .playlists-view{border-color:#ddd;opacity:1}
.ashdi-smart .ashdi-smart__watched .playlists-view:after{background:#ddd}

/* Fullstory layout from the current UAKino.eu season page: no legacy left sidebar. */
.season-page--uakino-eu>h1{margin-bottom:0}
.season-page--uakino-eu .origintitle{display:block;margin:0 0 18px;color:#8f8f8f}
.season-page--uakino-eu .movie-wrap{padding:18px 20px 20px;background:#131415}
.season-page--uakino-eu .movie-right{float:none;width:100%;padding:0}
.season-page--uakino-eu .film-top-info{width:100%;overflow:hidden}
.season-page--uakino-eu .film-poster-serial{width:21.5%;float:left}
.season-page--uakino-eu .film-info-serial{width:77.8%;float:right;margin-left:0}
.season-page--uakino-eu .film-poster{padding:8px;background:#1f2123}
.season-page--uakino-eu .film-poster-serial .favoritepro-host{margin:8px 0 0}
.season-page--uakino-eu .full-rate{margin-top:2px}
.season-page--uakino-eu .film-info{margin:0}
.season-page--uakino-eu .fi-item-s{box-sizing:border-box;min-height:39px;padding:12px 14px;display:flex;align-items:center;background:#1f2123}
.season-page--uakino-eu .fi-item-s:nth-child(2n){background:#111}
.season-page--uakino-eu .fi-label{flex:0 0 108px;width:108px;float:none}
.season-page--uakino-eu .fi-desc{min-width:0;float:none;flex:1}
.season-page--uakino-eu .imdb-votes-value:not(:empty)::before{content:"/"}
.season-page--uakino-eu .mov-top{margin-top:28px}
.season-page--uakino-eu .full-text{line-height:1.55}
.season-page--uakino-eu .screens-section{margin:14px 0 18px}
.season-page--uakino-eu .screens-section>.scr-img{height:112px}
.season-page--uakino-eu .screens-section>.scr-img img{height:100%;min-height:0;object-fit:cover}
.season-page--uakino-eu .season-players{clear:both;margin-top:0;position:relative;overflow:visible}
.season-page--uakino-eu .season-players>.box{display:none}
.season-page--uakino-eu .season-players>.box.visible{display:block}
.season-page--uakino-eu .season-players>.tabs{padding-right:220px}
.season-page--uakino-eu .season-players .mov-compl{display:block;right:8px}
.season-page--uakino-eu .season-players .mov-compl .uakino-player-action{color:#ca563f;cursor:pointer;font-size:14px;font-weight:700}
.season-page--uakino-eu .block-seo-film{clear:both;padding:6px 10px;text-align:center;background:#151719;border-top:1px solid #2a2c2e}
.season-page--uakino-eu .block-seo-film h2{margin:0;font-size:12px;font-weight:700;color:#ddd}

/* Flat season switcher directly below the player. */
.season-page--uakino-eu .season-links{clear:both;margin:5px 0 0;background:#1f2123}
.season-page--uakino-eu .seasons-title{margin:0;padding:7px 10px;text-align:center;background:#1f2123;color:#ddd;font-size:14px;font-weight:700;line-height:20px}
.season-page--uakino-eu ul.seasons{display:flex;flex-wrap:wrap;margin:0!important;padding:0!important;list-style:none;background:#17191b}
.season-page--uakino-eu ul.seasons li{box-sizing:border-box;float:none!important;flex:1 1 120px;margin:0!important;padding:0!important;border-right:1px solid #252729;border-top:1px solid #252729;text-align:center;background:#17191b;color:#aaa}
.season-page--uakino-eu ul.seasons li a,.season-page--uakino-eu ul.seasons li.season-active{display:block;padding:8px 12px;color:inherit;text-decoration:none}
.season-page--uakino-eu ul.seasons li:hover,.season-page--uakino-eu ul.seasons li.season-active{background:#ca563f;color:#fff}
.season-page--uakino-eu .collection-inline,.season-page--uakino-eu .collections-inline{margin-top:8px}

/* External player2 / YouTube values are always mounted as responsive iframes. */
.uakino-embed{width:100%;background:#000;min-height:120px}
.uakino-embed__source[hidden]{display:none!important}
.uakino-embed__mount{width:100%;background:#000}
.uakino-embed__ratio{position:relative;width:100%;height:auto!important;aspect-ratio:16/9;background:#000;overflow:hidden;min-height:0!important}
.uakino-embed__iframe{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:100%!important;max-height:none!important;border:0!important;background:#000;display:block!important}
.uakino-embed__error{min-height:190px;display:flex;align-items:center;justify-content:center;gap:10px;padding:24px;text-align:center;background:#0e0f10;color:#c8c8c8;box-sizing:border-box}
.uakino-embed__error i{color:#ca563f;font-size:18px}

@media screen and (max-width:960px){
  .season-page--uakino-eu .film-poster-serial{width:25%}
  .season-page--uakino-eu .film-info-serial{width:74.4%}
  .season-page--uakino-eu .fi-label{flex-basis:96px;width:96px}
  .season-page--uakino-eu .season-players>.tabs{padding-right:0}
  .season-page--uakino-eu .season-players .mov-compl{display:none}
  .ashdi-smart .playlists-videos .playlists-items li{flex-basis:calc(25% - 2px);max-width:calc(25% - 2px)}
}
@media screen and (max-width:700px){
  .season-page--uakino-eu .movie-wrap{padding:12px}
  .season-page--uakino-eu .film-poster-serial{width:34%}
  .season-page--uakino-eu .film-info-serial{width:65.2%}
  .season-page--uakino-eu .fi-item-s{padding:9px 10px;min-height:35px}
  .season-page--uakino-eu .fi-label{flex-basis:82px;width:82px}
  .season-page--uakino-eu .screens-section>.scr-img{height:88px}
  .ashdi-smart .playlists-lists .playlists-items li{flex-basis:calc(50% - 2px)}
  .ashdi-smart .playlists-videos .playlists-items li{flex-basis:calc(50% - 2px);max-width:calc(50% - 2px)}
}
@media screen and (max-width:520px){
  .season-page--uakino-eu .film-poster-serial,.season-page--uakino-eu .film-info-serial{width:100%;float:none}
  .season-page--uakino-eu .film-poster-serial{max-width:230px;margin:0 auto 12px}
  .season-page--uakino-eu .fi-label{flex-basis:92px;width:92px}
  .season-page--uakino-eu .screens-section>.scr-img{width:49%;height:95px}
  .ashdi-smart .playlists-items li{font-size:12px}
  .season-page--uakino-eu ul.seasons li{flex-basis:50%}
}

/* Current UAKino.eu keeps only the personal collection action under seasons. */
.season-page--uakino-eu .collections-news-inline{margin:8px 0 14px!important;padding:0;background:transparent}
.season-page--uakino-eu .collections-news-inline>.colection-n-link:not(.collections-user-open){display:none}
.season-page--uakino-eu .collections-news-inline .collections-user-open{display:inline-block;margin:0;padding:5px 9px;border:1px solid #ca563f;border-radius:10px;background:transparent;color:#fff;font-size:12px;line-height:18px;text-decoration:none}
.season-page--uakino-eu .collections-news-inline .collections-user-open:hover{background:#ca563f;color:#fff}


/* v2.3 hard fixes: the base UAKino stylesheet has `.full-text iframe{height:400px!important}`.
   Main/external player boxes intentionally do not use full-text anymore, and these selectors
   also protect the player if another template adds that class back. */
.season-page--uakino-eu .season-player-box{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#000!important;box-sizing:border-box!important}
.season-page--uakino-eu .season-player-box.visible{display:block!important}
.season-page--uakino-eu .season-player-box iframe,
.season-page--uakino-eu .season-player-box.full-text iframe,
.season-page--uakino-eu .ashdi-smart iframe,
.season-page--uakino-eu .uakino-embed iframe{width:100%!important;height:100%!important;min-height:100%!important;max-height:none!important;margin:0!important;padding:0!important;display:block!important}
.season-page--uakino-eu .ashdi-smart,
.season-page--uakino-eu .ashdi-smart .playlists-player,
.season-page--uakino-eu .ashdi-smart .playlists-iframe,
.season-page--uakino-eu .uakino-embed,
.season-page--uakino-eu .uakino-embed__mount{width:100%!important;max-width:none!important;box-sizing:border-box!important}
.season-page--uakino-eu .ashdi-smart__ratio,
.season-page--uakino-eu .uakino-embed__ratio{width:100%!important;aspect-ratio:16/9!important;height:auto!important;min-height:0!important;max-height:none!important}
@supports not (aspect-ratio:16/9){
  .season-page--uakino-eu .ashdi-smart__ratio,
  .season-page--uakino-eu .uakino-embed__ratio{height:0!important;padding-top:56.25%!important}
}
@media screen and (min-width:961px){
  .season-page--uakino-eu .season-players,
  .season-page--uakino-eu .season-player-box,
  .season-page--uakino-eu .ashdi-smart,
  .season-page--uakino-eu .uakino-embed{width:100%!important;max-width:none!important}
}


/* v2.3 snapshot-accurate season layout */
/* The reference snapshot uses the native UAKino movie-left/movie-right geometry.
   Do not flatten the season page: on desktop it has the 280px sidebar. */
.season-page--snapshot > .allhead{margin-bottom:0}
.season-page--snapshot .origintitle{display:block;margin-top:2px;color:#8f8f8f}
.season-page--snapshot .movie-wrap{background:#131415}
.season-page--snapshot .season-sidebar{width:100%;margin:0}
.season-page--snapshot .season-side-box{margin:0 0 18px;background:#17191b;overflow:hidden}
.season-page--snapshot .season-side-box .side-title{margin:0;text-align:center}
.season-page--snapshot .season-side-box .side-content{overflow:hidden}
.season-page--snapshot .season-side-box .side-movie{height:180px}
.season-page--snapshot .season-side-box .side-movie img{width:100%;height:100%;object-fit:cover}
.season-page--snapshot .season-side-box .news-item img{width:100%;height:100%;object-fit:cover}
.season-page--snapshot .season-side-box--top .top-news{margin:0 7px 8px}
.season-page--snapshot .film-top-info{width:100%;overflow:hidden}
.season-page--snapshot .film-poster-serial .favoritepro-host{margin-top:4px}
.season-page--snapshot .fi-item-s,.season-page--snapshot .film-info .fi-item{box-sizing:border-box}
.season-page--snapshot .imdb-votes-value:not(:empty)::before{content:"/"}
.season-page--snapshot .season-screens{margin:15px 0 18px;white-space:nowrap;font-size:0}
.season-page--snapshot .season-screens>.scr-img{vertical-align:top}
.season-page--snapshot .season-screens>.scr-img img{height:100%;min-height:100%;object-fit:cover}

/* Player: the original UAKino season page is a real 400px player on desktop.
   The previous 16:9 wrapper was taller than Ashdi's own PlayerJS surface, which
   produced a large dead black area and made the actual video look small. */
.season-page--snapshot .season-players{clear:both;position:relative;margin-top:0;overflow:visible}
.season-page--snapshot .season-players>.box{display:none}
.season-page--snapshot .season-players>.box.visible{display:block!important}
/* v2.4: hidden is the source of truth for tab panels. This overrides both the
   template's legacy `.visible` rule and jQuery inline animation styles. */
.season-page--snapshot .season-players>.season-player-box[hidden]{display:none!important;visibility:hidden!important}
.season-page--snapshot .season-players>.season-player-box:not([hidden]){visibility:visible!important}
.season-page--snapshot .season-players>.tabs>li[role="tab"]:focus-visible{outline:1px solid #ca563f;outline-offset:-2px}
.season-page--snapshot .season-players>.tabs{padding-right:200px}
.season-page--snapshot .season-players .mov-compl{display:block;right:8px}
.season-page--snapshot .season-players .mov-compl .uakino-player-action{color:#ca563f;cursor:pointer;font-size:14px;font-weight:700}
.season-page--snapshot .block-seo-film{clear:both;padding:5px 8px;text-align:center;background:#151719;border-top:1px solid #2a2c2e}
.season-page--snapshot .block-seo-film h2{margin:0;font-size:12px;line-height:18px;font-weight:700;color:#ddd}
.season-page--snapshot .season-player-box{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:#000!important;overflow:hidden!important;box-sizing:border-box!important}
.season-page--snapshot .ashdi-smart,.season-page--snapshot .ashdi-smart .playlists-player,.season-page--snapshot .uakino-embed,.season-page--snapshot .uakino-embed__mount{width:100%!important;max-width:none!important;box-sizing:border-box!important}
.season-page--snapshot .ashdi-smart .playlists-iframe{width:100%!important;height:400px!important;margin:2px 0 4px!important;background:#000!important;overflow:hidden!important}
.season-page--snapshot .ashdi-smart__ratio{position:relative!important;width:100%!important;height:400px!important;min-height:400px!important;max-height:400px!important;aspect-ratio:auto!important;padding:0!important;background:#000!important;overflow:hidden!important}
.season-page--snapshot .ashdi-smart__iframe{position:absolute!important;inset:0!important;width:100%!important;height:400px!important;min-height:400px!important;max-height:400px!important;border:0!important;margin:0!important;padding:0!important;display:block!important;background:#000!important}
.season-page--snapshot .uakino-embed__ratio{position:relative!important;width:100%!important;height:400px!important;min-height:400px!important;max-height:400px!important;aspect-ratio:auto!important;padding:0!important;background:#000!important;overflow:hidden!important}
.season-page--snapshot .uakino-embed__iframe{position:absolute!important;inset:0!important;width:100%!important;height:400px!important;min-height:400px!important;max-height:400px!important;border:0!important;margin:0!important;padding:0!important;display:block!important;background:#000!important}

/* Playlist controls reproduce the original UAKino five-column strips. */
.season-page--snapshot .ashdi-smart .playlists-player{padding:4px 0 0;background:#131415}
.season-page--snapshot .ashdi-smart .playlists-items ul{display:block!important;overflow:hidden!important;list-style:none!important;margin:0!important;padding:0!important;line-height:120%}
.season-page--snapshot .ashdi-smart .playlists-items li{box-sizing:border-box!important;float:left!important;width:calc(20% - 2px)!important;max-width:none!important;min-height:24px!important;margin:2px 2px 0 0!important;padding:3px 28px 3px 5px!important;line-height:17px!important;font-size:13px!important;border:1px solid #ca563f!important;border-radius:3px!important;background:#131415!important;color:#fff!important;text-align:left!important}
.season-page--snapshot .ashdi-smart .playlists-items li:hover,.season-page--snapshot .ashdi-smart .playlists-items li.active{background:#ca563f!important;color:#fff!important}
.season-page--snapshot .ashdi-smart .playlists-lists .playlists-items li{padding-right:5px!important}
.season-page--snapshot .ashdi-smart .playlists-items li.ashdi-smart__hidden{display:none!important}

/* Season switcher straight under the episode strip, same geometry as snapshot. */
.season-page--snapshot .season-links{clear:both;margin:0}
.season-page--snapshot .seasons-title{margin:0;padding:7px 5px;background:#1f2123;font-size:16px;line-height:22px;text-align:center;color:#ddd}
.season-page--snapshot ul.seasons{display:block;width:100%;margin:0!important;padding:0!important;background:#17191b;overflow:hidden}
.season-page--snapshot ul.seasons li{box-sizing:border-box;width:20%;min-width:0;float:left;margin:0;padding:0;border:1px solid #1f2123;background:#131415;text-align:center}
.season-page--snapshot ul.seasons li a,.season-page--snapshot ul.seasons li.season-active{display:block;padding:6px 10px;color:inherit;text-decoration:none}
.season-page--snapshot ul.seasons li:hover,.season-page--snapshot ul.seasons li.season-active{background:#ca563f!important;color:#fff}
.season-page--snapshot .collections-news-inline{margin:8px 0 16px!important;padding:0!important;background:transparent!important}
.season-page--snapshot .collections-news-inline>.colection-n-link:not(.collections-user-open){display:none!important}
.season-page--snapshot .collections-news-inline .collections-user-open{display:inline-block;margin:0;padding:5px 9px;border:1px solid #ca563f;border-radius:10px;background:transparent;color:#fff;font-size:12px;line-height:18px;text-decoration:none}
.season-page--snapshot .collections-news-inline .collections-user-open:hover{background:#ca563f;color:#fff}

@media screen and (max-width:1000px){
  .season-page--snapshot .season-players>.tabs{padding-right:0}
  .season-page--snapshot .season-players .mov-compl{display:none}
  .season-page--snapshot .ashdi-smart .playlists-items li{width:calc(25% - 2px)!important}
}
@media screen and (max-width:700px){
  .season-page--snapshot .season-sidebar{max-width:300px;margin:0 auto}
  .season-page--snapshot .ashdi-smart .playlists-iframe,
  .season-page--snapshot .ashdi-smart__ratio,
  .season-page--snapshot .ashdi-smart__iframe,
  .season-page--snapshot .uakino-embed__ratio,
  .season-page--snapshot .uakino-embed__iframe{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:16/9!important}
  .season-page--snapshot .ashdi-smart__ratio,.season-page--snapshot .uakino-embed__ratio{height:auto!important}
  .season-page--snapshot .ashdi-smart__iframe,.season-page--snapshot .uakino-embed__iframe{height:100%!important;min-height:100%!important;max-height:none!important}
  .season-page--snapshot .ashdi-smart .playlists-items li{width:calc(50% - 2px)!important;font-size:12px!important}
  .season-page--snapshot ul.seasons li{width:50%}
}
