
/* BASIC LAYOUT
----------------------------------------------- */
html, body {overflow-x: hidden;}
body {position: relative; background: #100f15;}
.wrapper {min-width: 320px; overflow: hidden; overflow: clip;}
.wrapper__container {max-width: var(--max-width); margin: 0 auto; position: relative; z-index: 20;}
.wrapper__container--main {background-color: color-mix(in srgb, var(--bg-darker) 94%, transparent); box-shadow: var(--bsh-long);}
.header {padding: 0 var(--indent); position: sticky; z-index: 100; left: 0; top: 0;
	background-color: var(--bg); box-shadow: var(--bsh-block);}
.header-is-sticky .header {translate: 0 -200%;}
.carou {background-color: var(--bg-blackest); margin: 0 var(--indent-negative); padding: 20px var(--indent);}
.content > .carou {margin-top: -20px; margin-bottom: 20px;}
.carou--lastviewed {margin-top: 0 !important; margin-bottom: 0 !important;}
.content {padding: 20px var(--indent); min-height: 100vh;}
.footer {padding: 40px var(--indent); padding-bottom: 20px; background-color: var(--bg-black); 
	color: var(--tt-fade); --tt: #fff; --tt-fade: #ccc; --bdc: rgba(255,255,255,0.2);}
.footer__two {border-top: 1px solid var(--bdc); padding-top: 20px; margin-top: 40px;}
.content:has(.descr), .content:has(.page__related), .content:has(.carou--lastviewed) {padding-bottom: 0;}
.wrapper::before, .wrapper::after {position: fixed; left: 0; top: 0; right: 0; bottom: 0; content: ''; pointer-events: none;}
.wrapper::before {background: url(../images/anime-bg.png) center top / max(1600px, 100vw) auto no-repeat; filter: saturate(1.08); z-index: 0;}
.wrapper::after {background:
	linear-gradient(to bottom, rgba(16,15,21,0.05) 0, rgba(16,15,21,0.58) 340px, #100f15 100%),
	radial-gradient(ellipse at center, rgba(16,15,21,0.15) 0, rgba(16,15,21,0.5) 48%, rgba(16,15,21,0.9) 100%);
	z-index: 1;}
.has-branding {padding-top: 150px;}

.scrolltop {position: fixed; width: 40px; height: 40px; right: 10px; bottom: 10px; padding: 0;
	z-index: 990; border-radius: 4px; font-size: 18px; opacity: 0; scale: 0 0;}
.scrolltop.is-active {scale: 1 1; opacity: 1;}
.overlay {position: fixed; z-index: 998; left: 0; top: 0; width: 100%; height: 100%; 
	opacity: 0.8; background-color: #1d1924; cursor: pointer; display: none;}


/* HEADER, TOPMENU, CAROU
----------------------------------------------- */
.logo {display: flex; align-items: center; font-family: 'Righteous-Regular'; font-weight: 400; color: var(--tt);
	padding-left: 50px; text-transform: uppercase; position: relative; font-size: 24px; height: 40px; letter-spacing: 1px;}
.logo::before {content: ''; width: 40px; height: 40px; position: absolute; left: 0; top: 50%; 
	background: url(../images/logo.svg) 0 center / contain no-repeat; translate: 0 -50%;}
.lt .header__logo {--tt: #000;}
.logo:has(img) {background: none; min-width: 200px;}
.logo:has(img)::before {display: none;}
.logo img {display: block; position: absolute; left: 0; top: 50%; translate: 0 -50%; max-height: 100%;}
.header__theme-select {color: var(--yellow);}
.dt .header__theme-select::before {content:"\f755";}
.header__btn-login {height: 34px; padding: 0 20px;}
.header__btns {padding-left: 30px;}
.header__btn1 {height: 30px; font-size: 12px;}
.header__ava {width: 40px; cursor: pointer;}
.header__btn1 span {position: absolute; right: -5px; top: -10px; padding: 2px 3px; font-size: 10px; border-radius: 2px; 
	background-color: var(--accent); color: #fff; display: inline-block; 
	text-align: center; min-width: 20px; line-height: 1;}

.header__menu {margin: 0 30px;}
.header__menu li {position: relative;}
.header__menu > li > a {display: flex; align-items: center; height: 70px; text-transform: uppercase;
	font-size: 16px; font-weight: 700; opacity: 0.6; font-family: 'Oswald', sans-serif;}
.header__menu-hidden {background-color: var(--bg); border-top: 3px solid var(--accent); box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
	position: absolute; left: 0; top: 99%; width: 240px; z-index: 10; padding: 20px 26px; display: grid; gap: 6px 26px; 
	opacity: 0; visibility: hidden; translate: 0 30px;}
div.header__menu-hidden {grid-template-columns: repeat(3,1fr); width: 660px;}
.header__menu-hidden--catalog {grid-template-columns: repeat(6,minmax(130px,1fr)) !important; width: min(980px, calc(100vw - 40px)) !important; left: calc(-1 * min(120px, 12vw)); max-height: calc(100vh - 100px); overflow: auto;}
.header__menu-hidden-col {display: grid; gap: 6px;}
.header__menu-hidden li:not(:has(a)) {font-weight: 500;}
.header__menu-hidden a {opacity: 0.8;}
.header .header__menu li:has(.header__menu-hidden)::before {content: ''; position: absolute; left: 50%; bottom: 0%; 
	border: 6px solid transparent; border-bottom-color: var(--accent); margin-left: -6px;}

.header {min-height: 72px; border-bottom: 1px solid color-mix(in srgb, var(--bdc) 70%, transparent);
	backdrop-filter: blur(18px); background: color-mix(in srgb, var(--bg) 92%, transparent);}
.header__logo {margin-right: 8px;}
.header__menu {align-self: stretch; margin: 0 22px 0 18px;}
.header__menu > li {display: flex; align-items: stretch;}
.header__menu > li > a, .header__menu-link {position: relative; height: 72px; padding: 0 2px; gap: 7px;
	font-size: 14px; letter-spacing: 0; opacity: 0.72; transition: color .18s ease, opacity .18s ease;}
.header__menu > li > a::after, .header__menu-link::after {content: ""; position: absolute; left: 0; right: 0; bottom: 0;
	height: 3px; border-radius: 3px 3px 0 0; background: var(--accent); opacity: 0; transform: scaleX(.3); transition: .18s ease;}
.header__menu > li:hover > a, .header__menu > li > a:hover, .header__menu-link:hover {opacity: 1; color: var(--accent);}
.header__menu > li:hover > a::after, .header__menu > li > a:hover::after {opacity: 1; transform: scaleX(1);}
.header__menu-hidden {border: 0; border-radius: 0 0 14px 14px; background: color-mix(in srgb, var(--bg) 97%, #fff 3%);
	box-shadow: 0 24px 60px rgba(0,0,0,.24); padding: 0; translate: 0 18px;}
.header__menu-hidden--catalog {left: 50% !important; width: min(1120px, calc(100vw - 36px)) !important;
	max-height: min(74vh, 720px); overflow: auto; transform: translateX(-50%);}
.header .header__menu li:has(.header__menu-hidden)::before {bottom: 0; z-index: 15; opacity: .95;}
.header__mega-panel {display: grid; grid-template-columns: 220px 165px minmax(280px,.85fr) minmax(360px,1.15fr);
	gap: 22px; padding: 22px; align-items: start;}
.header__mega-feature {min-height: 100%; padding: 20px; border-radius: 12px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 92%, #fff 8%), #1d1a26);
	color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.2);}
.header__mega-kicker {font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .78; font-weight: 800;}
.header__mega-title {margin-top: 8px; font-size: 22px; line-height: 1.1; font-weight: 900;}
.header__mega-feature p {margin-top: 10px; line-height: 1.5; opacity: .9;}
.header__mega-btn {display: inline-flex; align-items: center; min-height: 34px; margin-top: 18px; padding: 0 14px;
	border-radius: 8px; background: #fff; color: #1d1a26; font-weight: 900;}
.header__mega-col {display: grid; gap: 7px; min-width: 0;}
.header__mega-caption {margin-bottom: 5px; font-size: 12px; line-height: 1; text-transform: uppercase;
	letter-spacing: .08em; color: var(--tt-fade); font-weight: 900;}
.header__mega-col > a, .header__mega-grid a {display: flex; align-items: center; min-height: 31px; padding: 6px 10px;
	border-radius: 8px; color: var(--tt); opacity: .86; line-height: 1.25; white-space: normal; overflow-wrap: anywhere;}
.header__mega-col > a:hover, .header__mega-grid a:hover {background: color-mix(in srgb, var(--accent) 13%, var(--bg));
	color: var(--accent); opacity: 1;}
.header__mega-grid {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px 8px;}
.header__mega-grid--compact {grid-template-columns: repeat(2,minmax(0,1fr));}
.header__mega-grid--compact a {min-height: 28px; font-size: 13px;}
.dt .header {background: color-mix(in srgb, #101018 88%, transparent);}
.dt .header__menu-hidden {background: #17151f;}
.dt .header__mega-col > a:hover, .dt .header__mega-grid a:hover {background: rgba(255,93,125,.13);}

.search-block {position: relative;}
.search-block__input, .search-block__input:focus {padding: 0 40px 0 10px; border: 0; box-shadow: none; 
	height: 34px; line-height: 34px; box-shadow: inset 0 0 0 1px #e3e3e3, inset 1px 2px 5px rgba(0,0,0,0.2);}
.search-block__input:not(:focus)::placeholder {color: var(--tt); opacity: 0.66; font-size: 12px;}
.search-block__btn {position: absolute; right: 0; top: 0; height: 34px; font-size: 16px; width: 40px; color: var(--accent);}


/* SECTION
----------------------------------------------- */
.sect:not(:last-child) {margin-bottom: 20px;}
.sect__header {margin-bottom: 20px;}
.sect__title {font-size: 18px; font-weight: 500; text-transform: none;}
.sect__title :is(h1,h2,h3) {font-size: inherit;}
.sect__header:has(.sect__tabs) {margin-bottom: 10px;}
.sect__tabs button {background: none; color: var(--tt); text-transform: none; font-weight: 400;}
.sect__tabs button.is-active {background-color: var(--bg); color: var(--tt);}
.carou__caption {color: #fff; font-size: 18px; font-weight: 500; margin-bottom: 20px;}
.carou--lastviewed:not(:has(.item)) {display: none;}

.speedbar {color: var(--tt-fade); font-size: 12px; padding: 10px 0; margin-top: -20px;}
.speedbar a {color: var(--tt);}

.descr {color: var(--tt-fade-0); display: grid; gap: 10px; background-color: var(--bg-darker-1); 
	padding: 20px var(--indent); margin: 0 var(--indent-negative);}
.descr :is(h1,h2,h3) {font-size: 18px; font-weight: 500; color: var(--tt);}
.descr a {text-decoration: underline; color: var(--accent);}
.descr ul li {position: relative; padding-left: 25px; margin-left: 25px;}
.descr ul li::before {content:"\f00c"; color: var(--accent); position: absolute; left: 0; top: 0;}


/* ITEM CAROUSEL, SHORTSTORY
----------------------------------------------- */
.item__img {box-shadow: var(--bsh); overflow: hidden;}
.item__label {font-size: 12px; padding: 3px 12px; border-radius: 3px; font-weight: 500;
	background-color: var(--accent); color: #fff; position: absolute; left: 10px; top: 10px; z-index: 1;}
.item__desc {position: absolute; inset: 0; z-index: 3; color: #fff; 
	--tt: #fff; --bdc: rgba(255,255,255,0.3); text-align: center; padding: 10px;}
.item__title {font-weight: 500; font-size: 15px; margin-bottom: 5px;}
.anime-tooltip__title {font-size: 24px; line-height: 1.2; font-weight: 900; margin-bottom: 14px;}
.item__year {opacity: 0.8; font-size: 12px;}
.item__rates {line-height: 1; border-top: 1px solid var(--bdc); padding-top: 10px; margin-top: 10px;}
.item__rates-item::before {content: attr(data-text); display: inline; margin-right: 5px; text-transform: uppercase; font-weight: 500;}
.item__rates-item.episodes::before {color: #25c2ff;}
.item__rates-item.anime-type::before {color: #25c2ff;}
.item__rates-item.shiki::before {color: #ff5d7d;}
.item__rates-item.kp::before {color: #f60;}
.item__rates-item.imdb::before {color: #ffd166;}
.item__btn-info {cursor: pointer; position: absolute; right: 0; top: 0; z-index: 5; 
	border-radius: 0; translate: 0 -100%; opacity: 0;}
.item__rates:not(:has(.item__rates-item:nth-child(2))) {justify-content: center;}
.item__tooltip-source {display: none;}


/* TRAILER, POPUP DESC
----------------------------------------------- */
.trl {background-color: rgba(0,0,0,0.9); position: fixed; z-index: 990; left: 0; top: 0; 
	width: 100%; height: 100%; overflow-x: hidden; overflow-y: auto; backdrop-filter: blur(10px);}
.trl__close {position: absolute; right: 20px; top: 20px; font-size: 40px; color: #fff;}
.trl__inner {width: 100%; max-width: 700px; margin: 0 auto; color: #fff; padding: 80px 20px 20px 20px;}
.trl__btn {height: 40px; padding: 0 40px; margin: 15px 0; width: 100%;}
.trl h1 {margin-bottom: 15px; margin-top: 20px; font-size: 24px;}
.trl .page__text, .trl .full-text {color: #ccc; margin: 0px; padding: 0; background: none;}
.trl-is-opened {overflow: hidden;}

.th-active {z-index: 100;}
.th-text {display: none; background-color: var(--bg); border-left: 3px solid var(--accent); cursor: auto; 
	padding: 18px; text-align: left; position: absolute; z-index: 1000; 
	width: 520px; box-shadow: var(--bsh-long); min-height: 100px; font-size: 12px; border-radius: 4px;}
.pop-left .th-text {border-left: 0; border-right: 3px solid var(--accent);}
.th-text-loader {text-align: center; font-size: 18px; color: var(--accent); padding-top: 20px;}
.th-text .not-shown-ajax, .th-text h1 a, .th-text h1 small {display: none;}
.th-text h1 {font-size: 18px; line-height: 1.3; margin-bottom: 10px;}
.th-text .full-text {display: -webkit-box; -webkit-line-clamp: 6; line-clamp: 6; 
	-webkit-box-orient: vertical; overflow: hidden; margin: 10px 0; color: var(--tt-fade-0);}
.th-text .page__btn-trailer {width: 100%; margin-top: 20px;}
.anime-tooltip__body {display: grid; grid-template-columns: 1fr 120px; gap: 16px; align-items: start;}
.anime-tooltip__poster {grid-column: 2; grid-row: 1; width: 120px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px;}
.anime-tooltip__content {grid-column: 1; grid-row: 1;}
.anime-tooltip__rating span {display: inline-flex; align-items: center; min-height: 28px; padding: 0 9px;
	border-radius: 3px; background: #ffb000; color: #fff; font-size: 18px; font-weight: 700;}
.anime-tooltip__meta {margin-top: 8px; color: var(--tt-fade); font-size: 13px;}
.anime-tooltip__genres {display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px;}
.anime-tooltip__genres a {display: inline-flex; align-items: center; min-height: 20px; padding: 0 7px; border-radius: 3px;
	background-color: color-mix(in srgb, var(--accent) 28%, var(--bg-darker)); color: #fff;}
.anime-tooltip .page__list {display: grid; gap: 5px; margin-top: 10px; color: var(--tt-fade-0);}
.anime-tooltip .page__list li {display: block; min-height: 0;}
.anime-tooltip .page__list span {color: var(--tt); font-weight: 700;}
.anime-tooltip .page__btn-trailer {display: flex; align-items: center; justify-content: center; min-height: 36px;
	background-color: var(--accent); color: #fff; border-radius: 3px; font-weight: 700;}


/* FOOTER, PAGINATION
----------------------------------------------- */
.footer__notify {border-left: 1px solid var(--bdc); padding-left: 20px;}
.footer__copyright {font-size: 14px;}
.footer__menu {font-size: 16px; font-weight: 700; text-transform: uppercase; font-family: 'Oswald', sans-serif;;}

.pagination {gap: 20px 10px; padding-top: 10px;}
.pagination__pages a, .pagination__pages span, .pagination > a, .pagination > span 
{display: grid; place-items: center; color: var(--tt-fade);
	height: 36px; min-width: 36px; padding: 0 10px; border-radius: 3px; background-color: var(--bg);}
.pagination__pages {gap: 10px; font-size: 14px;}
.pagination__pages span:not(.nav_ext) {color: #fff; background: var(--accent);}
.pagination__btns {height: 36px; border-radius: 4px; overflow: hidden; background-color: var(--bg); box-shadow: var(--bsh);}
.pagination__btns > * {width: 40px; display: grid; place-items: center; color: var(--accent); font-size: 18px;}
.pagination__btns > span {color: var(--tt-fade);}
.pagination__btn-loader:has(span:not(.fal)) {display: none;}
.pagination__btn-loader a {min-width: 360px;}


/* INNER PAGE
----------------------------------------------- */
.page__bg {box-shadow: var(--bsh-block); background-color: var(--bg); margin: 0 var(--indent-negative);}
.page__cols {display: grid; grid-template-columns: minmax(0,1fr) 280px;}
.page__cols:not(:has(.page__cols-right)) {display: block;}
.page__cols-left {padding: 20px; padding-bottom: 0;}
.page__cols-right {background-color: var(--bg-darker-1); padding: 20px;}
.page__main {display: grid; gap: 15px 20px; grid-template-columns: 200px minmax(0,1fr); 
	grid-template-areas: "poster header" "poster info"; grid-template-rows: auto 1fr; margin-bottom: 25px;}
.page__poster {grid-area: poster; border-radius: 6px; overflow: hidden; align-self: start;
	box-shadow:0 0 0 1px #ccc,2px 3px 3px 0 rgba(0,0,0,0.1);}
.page__header {grid-area: header;}
.page__info {grid-area: info;}

.page__img::after {opacity: 0.5; height: 33%;}
.page__rating-ext {position: relative; z-index: 10; font-size: 12px;}
.page__rating-ext a {display: flex; align-items: center; padding: 0 10px; font-weight: 500; gap: 10px; height: 40px;}
.page__rating-ext a .fal {display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; 
	font-size: 16px; color: #fff; background-color: var(--green);}
.page__rating-ext a + a .fal {background-color: var(--red);}
.page__ratingscore-ring {width: 50px; font-weight: 500; font-size: 16px; 
	background-color: var(--bg); color: var(--tt); box-shadow: var(--bsh); 
	position: absolute; left: 50%; top: 0; translate: -50% -50%; isolation: isolate;}
.page__ratingscore-ring::before {content: ''; position: absolute; z-index: -2; inset: 0; border-radius: 50%; 
	background: conic-gradient(from 0deg, #FDC830 0%, #F37335 var(--p), var(--bg-darker-1)  var(--p));}
.page__ratingscore-ring::after {content: ''; position: absolute; z-index: -1; 
	background-color: var(--bg); inset: 3px; border-radius: 50%;}

.page__header h1 {font-size: 20px; font-weight: 500;}
.page__header h1 a {font-size: 12px; margin-left: 10px;}
.page__text .full-text {color: #888; line-height: 1.4;}
.page__text {margin-bottom: 20px;}
.js-hide-text {max-height: 160px; overflow: auto;}
.show-text {position: absolute; z-index: 2; left: 0; bottom: 0px; width: 100%; height: 34px; font-size: 12px;
	box-shadow:0 0 0 1px #ccc,2px 3px 3px 0 rgba(0,0,0,0.1); background-color: var(--bg); color: var(--tt);}
.js-hide-text[style]::before {content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 60%; 
	background: linear-gradient(to top, var(--bg) 20%, transparent 100%); z-index: 1;}
.page__list {line-height: 1.3; font-size: 13px; display: grid; gap: 5px 20px; 
	grid-template-columns: repeat(auto-fill,minmax(260px,1fr));}
.page__list li > span:first-child {font-weight: 500; margin-right: 5px;}
.page__list a {color: var(--blue); text-decoration: underline;}
.page__list-wide {grid-column: 1 / -1;}
.page__list-rates {grid-row: span 2;}
.page__list-rates-item {font-size: 15px; padding-left: 30px; line-height: 20px;}
.page__list-rates-item.shiki {padding-left: 0; color: var(--accent); font-weight: 700;}
.page__list-rates-item.shiki::before {content: 'Shikimori '; color: var(--tt-fade); font-weight: 500;}
.page__list-rates-item.kp {background: url(../images/kp.svg) 0 center / 20px no-repeat;}
.page__list-rates-item.imdb {background: url(../images/imdb.svg) 0 center / 20px no-repeat;}
.page__list-rates-item.tmdb {background: url(../images/tmdb.svg) 0 center / 20px no-repeat;}
.page__subtitle {border-top: 1px solid var(--bdc); margin: 0 -20px; padding: 15px 20px; 
	text-align: center; font-size: 18px; font-weight: 500;}

.page__scr ul {display: grid; gap: 20px; grid-template-columns: repeat(4,1fr);  
	border-top: 1px solid var(--bdc); margin: 0 -20px; padding: 20px 20px;}
.page__scr a, .page__scr img {display: block; height: auto; width: 100%; border-radius: 0px; aspect-ratio: 300 / 200;}
.page__scr img {object-fit: cover;}
.page__scr ul li:nth-child(4) ~ li {display: none;}

.page__player {position: relative; background-color: var(--bg-black); padding: 0;}
.page__player .tabs-block__select {gap: 1px; margin-bottom: 0px;}
.page__player .tabs-block__select button {background: var(--bg-blackest); color: #fff; border-radius: 0;}
.page__player .tabs-block__select button.is-active, .page__player .tabs-block__select button:hover {background: var(--accent); color: #fff;}
.page__complaint a {display: flex; align-items: center; gap: 10px; color: var(--red); --red: #f37e7c;}
.page__complaint {padding-right: 20px; --tt: #fff; color: #fff; --ui-bg-darker: rgba(255,255,255,0.3);}
.nl .page__player-controls + .tabs-block__content {display: block;}
.page__player .tabs-block__select button.is-active::before {color: rgba(0,0,0,0.8);}
.ya-share2 {min-height: 24px;}
.page__fav a, .page__fav > span {cursor: pointer; display: flex; align-items: center; gap: 10px; 
	color: var(--tt-fade); --tt-fade: #ccc;}
.page__fav a:has(.fav-added) .fal {color: var(--yellow);}
.page__player-bottom {padding-left: 20px;}
.page__likes a {display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 20px;
	background-color: var(--green); color: #fff;}
.page__likes a:last-child {background-color: var(--red);}
.dark-overlay {background: rgba(0,0,0,0.9); position: fixed; width: 100%; height: 100%; z-index: 100; top: 0; left: 0;}
.light-off #scrolltop {visibility: hidden;}
.light-off .page__player {position: relative; z-index: 102;}

.page__cols:has(.page__player) .page__cols-right {background-color: var(--bg-blackest); 
	color: #fff; --tt: #fff; --tt-fade: #ccc;--bdc: rgba(255,255,255,0.2);}
.page__fr {position: absolute; inset: 0;}
.page__fr-caption {height: 40px; display: flex; align-items: center; padding: 0 20px; 
	font-size: 14px; text-transform: uppercase; background-color: #000;}
.page__fr .sect__content {padding: 20px; height: calc(100% - 40px); overflow-x: hidden; overflow-y: auto; 
	display: grid; gap: 20px; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); align-content: start;}
.fr.is-active {padding-right: 55px;}
.fr__img {width: 50px;}
.fr__title {font-weight: 500;}
.fr__subtitle, .fr__meta {font-size: 12px; color: var(--tt-fade);}
.fr__meta::before {color: var(--yellow);}
.fr.is-active:after {content: attr(data-text); font-size: 10px; font-weight: 500; color: var(--tt-fade); 
	border-left: 1px solid var(--bdc); width: 35px; padding-left: 10px; padding-right: 0; text-transform: uppercase;
	position: absolute; right: 0; top: 50%; transform: translateY(-50%);}

.page__schedules {padding: 20px;}
.page__schedule {border: 1px solid var(--bdc);}
.schedule-item {padding: 6px 20px; gap: 10px 20px;}
.schedule-item + .schedule-item {border-top: 1px solid var(--bdc);}
.schedule-item__number {font-weight: 500; width: 280px;}
.schedule-item__descr {color: var(--tt-fade);}
.schedule-item__descr b {display: block; color: var(--tt); font-size: 15px;}
.schedule-item__date {color: var(--tt-fade);}
.schedule-item__status {color: var(--green); font-size: 24px;}
.schedule-item__status .fa-times {color: var(--red);}

.page__cols:has(.page__comments) {margin: 0 var(--indent-negative);}
.top-users {padding: 20px; margin-bottom: 20px; background-color: var(--bg);}
.top-users__title {font-size: 18px; font-weight: 500; margin-bottom: 20px;}
.top-users__content {display: grid; gap: 10px; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); 
	counter-reset: n; font-size: 12px; font-weight: 500; line-height: 1.1;}
.tuser:not(:last-child) {padding-bottom: 10px; border-bottom: 1px solid var(--bdc);}
.tuser::before {content: counter(n, decimal-leading-zero); counter-increment: n; color: var(--tt-fade);}
.tuser__ava {width: 24px;}
.tuser__rating {height: 20px; font-size: 10px; padding: 0 10px; border-radius: 10px; font-weight: 400;
	border: 1px solid var(--bdc); color: var(--tt-fade); line-height: 1; text-transform: uppercase;}
.tuser__rating::before {color: var(--yellow);}
.rkl--holder {display: grid; place-items: center; font-weight: 500; font-size: 24px;
	background: var(--bg-darker); color: rgba(0,0,0,0.2); height: 500px;}
.page__cols-right .rkl {position: sticky; left: 0; top: 20px;}


/* TEXT BLOCK, TYPOGRAPHY, VIDEO BLOCK
----------------------------------------------- */
.page__title {margin-bottom: 30px; font-size: 24px;}
.full-text {line-height: 1.6; font-size: 14px; word-wrap: break-word; color: var(--tt-fade-0);}
.full-text a {text-decoration: underline; color: var(--ui-accent);}
.full-text img:not(.emoji), .full-text p, .full-text h1, .full-text h2, .full-text h3, .full-text h4, .full-text h5, 
.full-text > ul, .full-text > ol, .full-text table {margin-bottom: 25px;}
.full-text > img[style*="left"], .full-text > .highslide img[style*="left"] {margin:0 10px 10px 0;}
.full-text > img[style*="right"], .full-text > .highslide img[style*="right"] {margin:0 0 10px 10px;}
.full-text > ul li, .full-text > ol li {padding-left: 60px; position: relative;}
.full-text > ul li:before {content: ''; width: 8px; height: 8px; border-radius: 50%; 
	border: 3px solid var(--accent); position: absolute; top: 6px; left: 34px;}
.full-text > ol {counter-reset: num;}
.full-text > ol li:before {content: counter(num); counter-increment: num; background-color: var(--accent); color: #fff; 
	position: absolute; top: -3px; left: 17px; width: 24px; height: 30px; font-size: 14px; font-weight: 500;
	display: flex; justify-content: flex-end; align-items: center; padding-right: 6px; box-sizing: border-box;}
.full-text > ol li:after {content: ''; border: 10px solid transparent; border-left-color: var(--accent); 
	position: absolute; left: 41px; top: -3px; transform: scale(0.66,1.5); transform-origin: 0 0;}
.full-text > ul li + li, .full-text > ol li + li {margin-top: 10px;}
.full-text table, .video-inside > * {width:100%;}
.full-text > *:last-child {margin-bottom: 0;}
.video-responsive {aspect-ratio: 16 / 9; padding-top: 0; position: relative; background-color: #000; overflow: hidden;}
.video-responsive > iframe, .video-responsive > video, .video-responsive > .player, .video-responsive > .playlists-ajax {position: absolute; left: 0; top: 0; width: 100%; height: 100%;}
.video-responsive > .player video-player, .video-responsive > video-player {display: block; width: 100%; height: 100%;}

.page__player {overflow: hidden;}
.page__player .page__player-controls {background: var(--bg-blackest);}
.page__player .tabs-block__select {display: flex; min-width: 0;}
.page__player .tabs-block__select button {min-width: 0; height: 40px; padding: 0 18px; white-space: nowrap;}
.page__player .tabs-block__select button + button {margin-left: 1px;}
.page__player .playlists-player {height: 100%; display: flex; flex-direction: column; padding: 0;}
.page__player .playlists-iframe {height: auto; flex: 1 1 auto; min-height: 0; margin: 0;}
.page__player .playlists-iframe iframe {display: block; width: 100%; height: 100%;}
.page__player .playlists-lists, .page__player .playlists-videos {flex: 0 0 auto;}
.player-placeholder {height: 100%; display: grid; place-items: center; padding: 30px; text-align: center; color: #fff; background: #101015; font-weight: 600;}
.full-text h1, .full-text h2, .full-text h3, .full-text h4, .full-text h5 {font-size: 21px; margin-bottom: 20px;}


/* COMMENTS
----------------------------------------------- */
.page__comments {padding-bottom: 10px;}
.page__comments-info {color: var(--tt-fade); display: block; margin: 5px 0 20px; font-size: 14px; padding-left: 23px; position: relative;}
.page__comments-info::before {color: var(--red); position: absolute; left: 0; top: 2px;}
.page__ac {margin-bottom: 10px;}
.ac-form {position: relative;}
.ac-form__header, .ac-form__editor, .ac-form .message-info {gap: 10px; margin-bottom: 10px;}
.ac-form__btn {padding: 0 60px;}
.ac-form__bottom {gap: 25px;}
.confidential-check {font-size: 14px;}
.ac-form__header > span {margin-left: 15px;}
.ac-form .comments_subscribe {margin-top: 0px;}

.ac-toggle.ac-form {cursor: pointer;}
.ac-form__header1 input, .ac-form__editor1 textarea {background-color: rgba(0,0,0,0.02);}
.ac-toggle, .ac-toggle .ac-form__editor {position: relative;}
.ac-toggle .ac-form__bottom button {position: absolute; bottom: 20px; right: 10px; z-index: 10; pointer-events: none;}
.ac-form .bb-btn {display: none;}
.ac-form .bb-pane {background: none; box-shadow: none; border: 0; position: absolute; left: 0; bottom: 0; right: 0;}
.ac-form #b_emo, .ac-form #b_leech, .ac-form #b_quote, .ac-form #b_spoiler, 
.ac-form #b_b, .ac-form #b_u, .ac-form #b_s, .ac-form #b_color, .ac-form #b_hide {display: grid;}
.ac-toggle .bb-btn {pointer-events: none;}
.ac-toggle .ac-form__editor .bb-editor textarea {height: 200px; resize: none;}
.ac-form__editor .bb-editor textarea {height: 200px; line-height: 1.4; padding-bottom: 40px;}
.comments_subscribe + br, .ac-form .bb-editor + br {display: none;}
.ac-toggle .has-checkbox {display: none;}

.mass_comments_action {display: none; align-items: center; flex-wrap: wrap; gap: 10px;}
.mass_comments_action select {flex: 1 1 0; margin: 0 -28px 0 0; border-radius: 0; box-shadow: none; min-width: 60%;}
.mass_comments_action .bbcodes {border-radius: 0; padding: 0 10px;}

.comm__title {font-size: 18px; margin-bottom: 20px;}

.comm {margin-bottom: 10px; position: relative; padding: 15px 20px; 
	padding-left: 90px; background-color: var(--bg-darker-1); border-radius: 6px;}
.comm.pos {background-color: rgba(59, 179, 59, 0.1);}
.comm.neg {background-color: rgba(235, 77, 75,0.1);}
.comm__group {height: 20px; display: flex; align-items: center; border-radius: 10px; font-size: 10px; 
	border: 1px solid var(--bdc); padding: 0 10px; text-transform: uppercase;}
.comm__group, .comm__group * {font-weight: 400; color: var(--tt) !important;}
.comm__group.adm, .comm__group.adm * {color: #fff !important; background-color: var(--accent); border-color: var(--accent);}
.comm__img {width: 50px; height: 50px; border-radius: 50%; position: absolute; left: 20px; top: 20px;}
.comm__user-rating {position: absolute; left: 50%; top: 100%; translate: -50% 0; gap: 3px; margin-top: 8px;
	background-color: var(--bg); z-index: 5; white-space: nowrap; padding: 0; width: 48px;}
.comm__letter {width: 100%; height: 100%; text-transform: uppercase; border-radius: inherit;
	position: absolute; left: 0; top: 0; color: #fff; font-size: 18px; font-weight: 500;}
.comm__author, .comm__author a {color: var(--accent); font-weight: 500; font-size: 14px;}
.comm__date {color: var(--tt-fade); font-size: 12px;}
.comm__rating a {color: var(--green); font-size: 18px;}
.comm__rating a:last-child {color: var(--red);}
.comm__rating span {font-size: 14px;}
.comm__rating span .ratingplus {color: var(--green);}
.comm__rating span .ratingminus {color: var(--red);}
.comm__text {margin: 8px 0;}
.comm__action {font-size: 12px; --tt: var(--tt-fade); color: var(--tt-fade);}
.comm__ctrl-btn {font-size: 18px; height: 30px; --tt: var(--tt-fade);}
.comm__ctrl-menu li + li {margin-top: 10px;}
body:has(.pwidget) #dropmenudiv {z-index: 1000 !important;}

/* Modern comments override */
.page__cols:has(.page__comments) {margin-top: 0;}
.page__comments {padding: 24px; background: color-mix(in srgb, var(--bg) 88%, #fff 12%); border-top: 1px solid rgba(255,255,255,0.08);}
.page__comments .sect__title {font-size: 22px; font-weight: 800; margin-bottom: 6px;}
.page__comments-info {display: flex; align-items: center; gap: 8px; color: var(--tt-fade); margin: 0 0 18px; padding: 0; font-size: 13px;}
.page__comments-info::before {position: static; color: var(--accent); font-size: 14px;}
.page__ac {margin-bottom: 18px;}
.ac-form {padding: 14px; border-radius: 8px; background: var(--bg); box-shadow: 0 14px 36px rgba(0,0,0,0.12), inset 0 0 0 1px rgba(255,255,255,0.08);}
.ac-form__input, .ac-form__editor textarea, .ac-form__editor iframe {border-radius: 6px !important; border: 1px solid rgba(0,0,0,0.12) !important; background: color-mix(in srgb, var(--bg) 94%, #fff 6%) !important;}
.ac-form__bottom {justify-content: flex-end; gap: 18px;}
.ac-form__btn {height: 38px; padding: 0 34px; border-radius: 6px; font-weight: 800; text-transform: uppercase; background: var(--accent); color: #fff;}
.ac-toggle .ac-form__bottom button {position: static; pointer-events: auto;}
.ac-form .bb-pane {position: static; border: 0; border-radius: 6px 6px 0 0; background: color-mix(in srgb, var(--bg) 92%, #fff 8%);}
.ac-toggle .ac-form__editor .bb-editor textarea, .ac-form__editor .bb-editor textarea {height: 150px; resize: vertical; line-height: 1.45; padding: 14px;}
.page__comments-list {display: grid; gap: 14px;}
.page__comments-list .message-info {margin: 0; border: 1px solid rgba(255,152,0,0.25); border-left: 4px solid #ff9800; border-radius: 8px; background: rgba(255,152,0,0.08); color: var(--tt);}
.comm {margin-bottom: 0; border-radius: 8px; background: var(--bg); box-shadow: 0 10px 28px rgba(0,0,0,0.10), inset 0 0 0 1px rgba(255,255,255,0.08);}
.comm__header {padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.08);}
.comm__img {border-radius: 8px; overflow: hidden;}
.comm__author, .comm__author a {font-weight: 800;}
.comm__date {color: var(--tt-fade); font-size: 12px;}
.comm__text {margin: 12px 0; line-height: 1.55;}

/* Modern fullstory override */
.anime-release {max-width: 1180px; margin: 0 auto 36px;}
.anime-release .page__bg {margin: 0; overflow: hidden; border-radius: 10px; background: color-mix(in srgb, var(--bg) 94%, #fff 6%); box-shadow: 0 24px 70px rgba(0,0,0,0.28);}
.anime-release .page__cols {display: block; margin: 0;}
.anime-release .page__cols-left {padding: 28px;}
.anime-release .page__main {grid-template-columns: 220px minmax(0,1fr); gap: 18px 28px; margin-bottom: 22px;}
.anime-release .page__poster {filter: drop-shadow(0 18px 30px rgba(0,0,0,0.22));}
.anime-release .page__poster .page__img {border-radius: 10px; overflow: hidden;}
.anime-release .item__label {top: 12px; left: 12px; border-radius: 5px; box-shadow: 0 8px 20px rgba(0,0,0,0.18);}
.anime-release .page__header h1 {font-size: 27px; line-height: 1.22; font-weight: 800; color: var(--tt);}
.anime-release .page__header h1 small {font-size: 15px; font-weight: 700; color: var(--tt-fade);}
.anime-release .page__text {font-size: 14px; line-height: 1.65; color: color-mix(in srgb, var(--tt) 72%, transparent);}
.anime-release .js-hide-text::after {background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--bg) 96%, #fff 4%));}
.anime-release .show-text {height: 36px; border-radius: 7px; font-weight: 800; letter-spacing: 0; background: color-mix(in srgb, var(--bg) 86%, #fff 14%);}
.anime-release .page__list {display: grid; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); gap: 10px; margin-top: 16px;}
.anime-release .page__list li {min-height: 42px; padding: 10px 12px; border-radius: 8px; background: color-mix(in srgb, var(--bg) 88%, #fff 12%); border: 1px solid rgba(0,0,0,0.06);}
.anime-release .page__list li span {display: block; margin-bottom: 3px; font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--tt-fade);}
.anime-release .page__list-wide {grid-column: auto;}
.anime-release .page__subtitle {margin: 0; padding: 20px 28px; border-top: 1px solid var(--bdc); text-align: center; font-size: 21px; line-height: 1.25; font-weight: 800; background: color-mix(in srgb, var(--bg) 90%, #fff 10%);}
.anime-release .page__player {padding: 0; background: #07070c;}
.anime-release .page__player-controls {min-height: 52px; background: #07070c; border-bottom: 1px solid rgba(255,255,255,0.08);}
.anime-release .page__player .tabs-block__select {gap: 0;}
.anime-release .page__player .tabs-block__select button {height: 52px; padding: 0 28px; border-radius: 0; background: transparent; color: #fff; font-weight: 900; text-transform: uppercase;}
.anime-release .page__player .tabs-block__select button.is-active, .anime-release .page__player .tabs-block__select button:hover {background: var(--accent); color: #fff;}
.page__player-actions {padding: 0 18px; color: #fff; --tt: #fff; --ui-bg-darker: rgba(255,255,255,0.28);}
.page__player-actions .page__light-button {white-space: nowrap;}
.anime-release .video-responsive {background: #141419;}
.anime-release .page__comments {margin: 0; padding: 28px; border-top: 1px solid rgba(255,255,255,0.08); border-radius: 0 0 10px 10px;}
.anime-release .page__related {margin-top: 28px;}

/* Fullstory layout v2 */
.anime-release {max-width: 1080px;}
.anime-release .page__bg {border-radius: 12px; background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 97%, #fff 3%), color-mix(in srgb, var(--bg) 92%, #fff 8%));}
.anime-release .page__cols-left {padding: 30px 34px;}
.anime-release .page__main {
	display: grid;
	grid-template-columns: 235px minmax(0,1fr);
	grid-template-areas: "poster header" "poster altnames" "poster info";
	gap: 12px 30px;
	align-items: start;
	margin-bottom: 26px;
}
.anime-release .page__header {grid-area: header; padding-top: 2px;}
.anime-release .page__poster {grid-area: poster;}
.anime-release .page__info {grid-area: info;}
.anime-release .page__header h1 {max-width: 760px; font-size: 30px;}
.anime-release .page__header h1 small {display: inline-block; margin-left: 4px; opacity: .75;}
.page__alt-names {grid-area: altnames; position: relative; padding: 12px 14px; border-radius: 9px; background: color-mix(in srgb, var(--bg) 88%, #fff 12%); border: 1px solid rgba(0,0,0,0.06);}
.page__alt-toggle {position: absolute; opacity: 0; pointer-events: none;}
.page__alt-caption {margin-bottom: 6px; font-size: 11px; line-height: 1; font-weight: 900; text-transform: uppercase; color: var(--tt-fade);}
.page__alt-text {max-height: 42px; overflow: hidden; color: color-mix(in srgb, var(--tt) 76%, transparent); line-height: 1.5; font-size: 13px;}
.page__alt-text::after {content: ""; position: absolute; left: 0; right: 0; bottom: 40px; height: 26px; pointer-events: none; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--bg) 88%, #fff 12%));}
.page__alt-more {display: inline-flex; align-items: center; margin-top: 8px; color: var(--accent); font-weight: 900; font-size: 12px; cursor: pointer;}
.page__alt-names:not(.is-collapsible) .page__alt-more {display: none;}
.page__alt-names.is-ready:not(.is-collapsible) .page__alt-text::after {display: none;}
.page__alt-more-hide {display: none;}
.page__alt-toggle:checked ~ .page__alt-text {max-height: none;}
.page__alt-toggle:checked ~ .page__alt-text::after {display: none;}
.page__alt-toggle:checked ~ .page__alt-more .page__alt-more-show {display: none;}
.page__alt-toggle:checked ~ .page__alt-more .page__alt-more-hide {display: inline;}
.anime-release .page__text {margin-top: 4px; padding-bottom: 4px;}
.anime-release .page__text.js-hide-text {max-height: 152px; overflow: hidden;}
.anime-release .page__text:not(.js-hide-text) {max-height: none; overflow: visible;}
.anime-release .page__text.js-hide-text::before {content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 54px; pointer-events: none; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--bg) 96%, #fff 4%));}
.anime-release .show-text {margin-top: 8px;}
.anime-release .page__list {grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; margin-top: 14px;}
.anime-release .page__list li {min-height: 0; padding: 10px 12px; overflow: hidden;}
.anime-release .page__list li.not-shown-ajax, .anime-release .page__list li.page__list-wide {grid-column: span 2;}
.anime-release .page__list a {text-decoration: none; font-weight: 700;}
.anime-release .page__subtitle {padding: 22px 30px; font-size: 20px;}
.anime-release .page__player .tabs-block__select button {min-width: 170px;}

/* Home and poster polish */
.anime-release .page__poster .page__img {background: radial-gradient(circle at 50% 15%, rgba(255,255,255,0.9), rgba(230,225,238,0.7));}
.anime-release .page__poster .page__img img {object-fit: cover; object-position: center top;}
.anime-release .page__poster .page__img.img-mask::after {display: none;}
.anime-card {overflow: hidden; border-radius: 10px; background: #121018; box-shadow: 0 12px 28px rgba(0,0,0,0.16);}
.anime-card .item__img {box-shadow: none; border-radius: inherit; background: #191720;}
.anime-card .item__img img {object-fit: cover; object-position: center top;}
.anime-card .item__desc {padding: 14px 10px 12px; background: linear-gradient(to top, rgba(0,0,0,.86), rgba(0,0,0,.08) 66%, transparent);}
.anime-card .item__title {display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 800; line-height: 1.22;}
.anime-card .item__label {border-radius: 5px; font-weight: 800;}
.anime-card .item__rates {display: flex; min-width: 0; justify-content: center; overflow: hidden;}
.anime-card .item__rates-item {min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px;}
.anime-card .item__rates-item::before {display: inline-block; vertical-align: top;}
.content > .carou:first-child {margin: 0 0 20px; padding: 22px 24px; border-radius: 12px; background: linear-gradient(135deg, #15131b, #211a28); box-shadow: 0 18px 50px rgba(0,0,0,.25);}
.content > .carou:first-child .carou__caption {margin-bottom: 16px; font-size: 21px; font-weight: 900;}
.content > .carou:first-child .has-carousel:not(.owl-carousel) {gap: 14px;}
.content > .carou:first-child .has-carousel:not(.owl-carousel) > .item {width: 150px;}
.sect {margin-bottom: 22px; padding: 18px; border-radius: 12px; background: color-mix(in srgb, var(--bg) 94%, #fff 6%); box-shadow: 0 12px 34px rgba(0,0,0,0.08);}
.sect__header {margin-bottom: 16px;}
.sect > .sect__header .sect__title {height: 40px; padding: 0 16px; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 900;}
.sect > .sect__header .sect__title :is(h1,h2,h3) {font-size: 16px; font-weight: 900;}
.sect__tabs {padding: 4px; border-radius: 8px; background: color-mix(in srgb, var(--bg-darker) 72%, #fff 28%);}
.sect__tabs button {height: 32px; padding: 0 14px; border-radius: 6px; font-size: 12px; font-weight: 800; color: var(--tt-fade);}
.sect__tabs button.is-active {background: #fff; color: var(--tt); box-shadow: 0 8px 20px rgba(0,0,0,0.08);}
.sect .grid-items {display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: flex-start; gap: 14px;}
.sect .grid-items > .grid-items__item {flex: 0 0 166px; width: 166px; max-width: 166px;}
.sect__btn-filter {display: none !important;}
.filter-block {border-radius: 10px; margin: 0 0 18px; padding: 16px; background: color-mix(in srgb, var(--bg) 92%, #fff 8%);}
.search-block form {display: flex; align-items: center;}
.search-block__input {padding-right: 44px;}
.search-block__btn {margin-left: -40px; position: relative; z-index: 2; width: 40px; min-width: 40px;}
.page__comments .sect__title {height: auto; padding: 0; border-radius: 0; background: transparent; color: var(--tt); font-size: 24px; line-height: 1.25;}
.page__comments .sect__title::before, .page__comments .sect__title::after {display: none;}

@media screen and (max-width: 760px) {
	.anime-release {margin-bottom: 24px;}
	.anime-release .page__bg {border-radius: 0;}
	.anime-release .page__cols-left {padding: 18px;}
	.anime-release .page__main {display: block; margin-bottom: 18px;}
	.anime-release .page__poster {width: min(230px, 72vw); margin: 0 auto 18px;}
	.anime-release .page__header h1 {font-size: 21px; line-height: 1.28;}
	.anime-release .page__header h1 small {display: block; margin-top: 5px; font-size: 13px;}
	.anime-release .page__list {grid-template-columns: 1fr; gap: 8px;}
	.anime-release .page__subtitle {padding: 16px 18px; font-size: 18px;}
	.anime-release .page__player-controls {display: block;}
	.anime-release .page__player .tabs-block__select {width: 100%;}
	.anime-release .page__player .tabs-block__select button {flex: 1 1 50%; height: 48px; padding: 0 10px; font-size: 12px;}
	.page__player-actions {display: none;}
	.anime-release .video-responsive {aspect-ratio: 16 / 10;}
	.anime-release .page__comments {padding: 18px;}
	.ac-form {padding: 10px;}
	.ac-toggle .ac-form__editor .bb-editor textarea, .ac-form__editor .bb-editor textarea {height: 120px;}
	.ac-form__btn {width: 100%; padding: 0 16px;}
}


/* POPUP WIDGET
----------------------------------------------- */
.pwidget {background-color: var(--bg); color: var(--tt); 
	border-radius: 20px; overflow: hidden; z-index: 999; padding: 20px; padding-top: 24px; 
	position: fixed; left: 20px; bottom: 20px; right: 20px; box-shadow: 0 0 60px rgba(0,0,0,0.5);}
.pwidget::before {content: ''; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); 
	background-color: rgba(0,0,0,0.2); height: 4px; width: 40px; border-radius: 2px;}
.pwidget .wctrl__content {display: block; margin-bottom: 20px;}
@media screen and (min-width: 760px) {
	.pwidget {left: 50%; bottom: 50%; right: auto; translate: -50% 50%; width: 400px;}
	.pwidget::before {display: none;}
}


/* LOGIN
----------------------------------------------- */
.lgn {position: fixed; z-index: 999; left: 50%; top: 50%; translate: -50% -50%; width: 500px; max-width: calc(100% - 40px);}
.lgn__content {background-color: var(--bg); box-shadow: var(--bsh-long); padding: 30px 60px; position: relative;}
.lgn__ctrl > * {color: #fff !important; font-size: 19px; font-weight: 500; height: 45px; position: relative; text-transform: uppercase;}
.lgn__ctrl span::before {content: ''; border: 10px solid transparent; border-bottom-color: var(--bg); 
	position: absolute; left: 50%; bottom: 0; margin-left: -10px; z-index: 5;}
.lgn__btn-close {font-size: 40px; color: #fff; position: absolute; right: -50px; top: 0; z-index: 10;}
.lgn__header {position: relative; padding-left: 80px; margin-bottom: 15px;}
.lgn__avatar {width: 60px; background-color: var(--bg-darker); font-size: 24px; 
	position: absolute; left: 0; top: 50%; translate: 0 -50%; overflow: hidden; border-radius: 50%;}
.lgn__title {font-size: 19px; font-weight: 500;}
.lgn__caption {color: var(--tt-fade); margin-top: 5px;}
.lgn__input input {height: 50px; line-height: 50px; border-radius: 0; padding: 0 30px;}
.lgn__input input::placeholder {font-size: 16px;}
.lgn__input input + input {margin-top: -1px;} 
.lgn__input input:focus {position: relative; z-index: 5;}
.lgn__btn button {height: 50px;}
.lgn__cell a {color: var(--ui-accent);}
.lgn__social-caption {font-size: 13px; color: var(--tt-fade); margin-top: 5px;}
.lgn__social-caption::before, .lgn__social-caption::after {content: ''; flex-grow: 1; background: var(--bdc); height: 1px;}
.lgn__social a {border-radius: 50%; width: 34px; height: 34px; display: grid; place-items: center;}
.lgn__social a img {height: 18px; width: 18px; display: block; filter: invert(1);}
.lgn__social-vk {background-color: #587ba1;}
.lgn__social-ok {background-color: #ff9800;}
.lgn__social-fb {background-color: #3b5998;}
.lgn__social-ml {background-color: #2196f3;}
.lgn__social-gg {background-color: #f44336;}
.lgn__social-ya {background-color: #fc3f1d;}
.lgn__social:not(:has(a)) {display: none;}
.lgn--logged {width: 400px;}
.lgn__menu a {display: flex; align-items: center; gap: 10px;}
.c-0 span {display: none;}



/**
 * Owl Carousel v2.3.4
 * Copyright 2013-2018 David Deutsch
 * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
 */
.owl-carousel {width: 100%; position: relative; z-index: 1;}
.owl-stage {position: relative; display:flex; justify-content:flex-start;}
.owl-stage-outer {position: relative; overflow: hidden; transform: translate3d(0px, 0px, 0px);}
.owl-item {position: relative; min-height: 10px;}
.owl-nav.disabled, .owl-dots.disabled, .owl-carousel.owl-refresh .owl-item {display: none;}
.owl-carousel.owl-drag .owl-item {user-select: none;}
.owl-carousel.owl-grab {cursor: move; cursor: grab;}
.owl-nav {position: absolute; right: 0; top: 0; margin-top: -45px; display: flex; gap: 5px;}
.owl-prev, .owl-next {cursor: pointer; width: 30px; height: 30px; display: grid; place-items: center; 
	font-size: 18px; background-color: transparent; color: #fff; box-shadow: none; border-radius: 4px;}
.owl-prev {opacity: 0.6;}
.owl-next {opacity: 1;}


/* CLS FIX
----------------------------------------------- */
.has-carousel:not(.owl-carousel) {display: flex; overflow: hidden; gap: 20px;}
.has-carousel:not(.owl-carousel) > * {flex-shrink: 0;}
.has-carousel:not(.owl-carousel) > .item {width: calc((100% - 100px)/6);}

@media screen and (max-width: 1220px) {
	.has-carousel:not(.owl-carousel) > .item {width: calc((100% - 80px)/5);}
}
@media screen and (max-width: 950px) {
	.has-carousel:not(.owl-carousel) > .item {width: calc((100% - 60px)/4);}
}
@media screen and (max-width: 760px) {
	.has-carousel:not(.owl-carousel) > .item {width: calc((100% - 40px)/3);}
}
@media screen and (max-width: 470px) {
	.has-carousel:not(.owl-carousel) > .item {width: calc((100% - 20px)/2);}
}

.filter-block {background-color: var(--bg); margin: 0 var(--indent-negative); margin-bottom: 20px; padding: 20px var(--indent);}
.filter {gap: 10px 20px;}
.filter-block__title {font-size: 16px; font-weight: 500; margin-bottom: 20px;}
.filter__col:not(.filter__col--submit) {flex: 1 0 240px; max-width: 100%; min-width: 240px; display: flex; flex-direction: column; gap: 10px;}
.filter__cell select {height: 40px; box-shadow: none; border: 1px solid rgba(0,0,0,0.15);
	background-color: var(--bg); color: var(--tt);}
.filter__cell input[type="text"] {opacity: 0;}
.filter__cell [data-dlefilter="reset"]:not(:hover) {background-color: var(--bg-darker); color: var(--tt-fade);}
.filter__col--ranges {padding: 0 20px;}
.filter-block--full .filter__col--submit {width: 100%;}
.filter-block--full {background: none; box-shadow: none; padding: 0; margin: 0;}

.tail-select, .tail-select * {outline: none; user-select: none;}
.tail-select {position: relative;}
.tail-select-container, .select-label {border: 1px solid rgba(0,0,0,0.15); background-color: var(--bg); 
	padding: 5px 5px; min-height: 40px; position: relative; cursor: pointer; color: var(--tt);
	display: flex; flex-wrap: wrap; align-items: center; gap: 5px; padding-right: 40px; border-radius: 3px;}
.tail-select .label-inner {margin-left: 5px; font-size: 14px;}
.tail-select-container .select-handle {display: flex; align-items: center; height: 28px; padding: 0 8px; border-radius: 2px; 
	background-color: var(--accent); color: #fff; cursor: pointer; font-size: 12px; text-transform: uppercase;}
.tail-select .select-label::before, .tail-select .select-label::after {position: absolute; top: 50%; right: 10px;
	content:"\f0d8"; color: var(--tt); margin-top: -15px; opacity: 0.5;}
.tail-select .select-label::after {margin-top: -5px; transform: rotate(180deg);}

.tail-select .select-dropdown {top: 100%; left: 0; width: 100%; z-index: 100; display: none; position: absolute;
    background-color: var(--bg); border: 1px solid rgba(0,0,0,0.15); box-shadow: var(--bsh); border-radius: 3px;}
.tail-select .select-dropdown .dropdown-inner {padding: 1px 0; overflow-x: hidden; overflow-y: auto; max-height: 300px;}
.tail-select .dropdown-optgroup {padding: 15px;}
.tail-select .select-dropdown .dropdown-empty {padding: 20px; font-size: 14px; text-align: center;}
.tail-select .select-dropdown ul li + li {margin-top: 10px;}
.tail-select .select-dropdown ul li {display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px;}
.tail-select .select-dropdown ul li.dropdown-option::before {content: ""; background-color: var(--bg-darker);
    width: 18px; height: 18px; border-radius: 1px; box-shadow: inset 0 1px 2px rgba(0,0,0,0.2); 
	display: flex; justify-content: center; font-size: 14px; color: #000; flex-shrink: 0; 
	box-sizing: border-box; padding-bottom: 3px;}
.tail-select .select-dropdown ul li.dropdown-option.selected {color: var(--accent);}
.tail-select .select-dropdown ul li.dropdown-option.selected::before 
{background-color: var(--accent); color: #fff; content:"\f00c"; box-shadow: none;}
.tail-select .select-dropdown ul li:hover {color: var(--blue);}
.tail-select-container:hover, .select-label:hover {border-color: var(--accent);}
.tail-select-container .select-handle:hover {background-color: var(--red);}

.irs {position: relative; display: block; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none;
	-moz-user-select: none; -ms-user-select: none; user-select: none;}
.irs-line {position: relative; display: block; overflow: hidden; outline: none !important;}
.irs-line-left, .irs-line-mid, .irs-line-right {position: absolute; display: block; top: 0;}
.irs-line-left {left: 0; width: 11%;}
.irs-line-mid {left: 9%; width: 82%;}
.irs-line-right {right: 0; width: 11%;}
.irs-bar {position: absolute; display: block; left: 0; width: 0;}
.irs-bar-edge {position: absolute; display: block; top: 0; left: 0;}
.irs-shadow {position: absolute; display: none; left: 0; width: 0;}
.irs-handle {position: absolute; display: block; cursor: default; z-index: 1;}
.irs-handle.type_last {z-index: 2;}
.irs-min {position: absolute; display: block; left: 0; cursor: default;}
.irs-max {position: absolute; display: block; right: 0; cursor: default;}
.irs-from, .irs-to, .irs-single {position: absolute; display: block; top: 0; left: 0; cursor: default; white-space: nowrap;}
.irs-grid {position: absolute; display: none; bottom: 0; left: 0; width: 100%; height: 20px;}
.irs-with-grid .irs-grid {display: block;}
.irs-grid-pol {position: absolute; top: 0; left: 0; width: 1px; height: 8px; background: #ec2828;}
.irs-grid-pol.small {height: 4px;}
.irs-grid-text {position: absolute; bottom: 0; left: 0; white-space: nowrap; text-align: center;
font-size: 9px; line-height: 9px; padding: 0 3px; color: #ec2828;}
.irs-disable-mask {position: absolute; display: block; top: 0; left: -1%; width: 102%; height: 100%;
cursor: default; background: rgba(0,0,0,0.0); z-index: 2;}
.irs-disabled {opacity: 0.4;}
.lt-ie9 .irs-disabled {filter: alpha(opacity=40);}
.irs-hidden-input {position: absolute !important; display: block !important; top: 0 !important; left: 0 !important;
width: 0 !important; height: 0 !important; font-size: 0 !important; line-height: 0 !important; padding: 0 !important;
margin: 0 !important; outline: none !important; z-index: -9999 !important; background: none !important;
border-style: solid !important; border-color: transparent !important;}

.irs {height: 40px;}
.irs-line {height: 6px; top: 25px; background-color: var(--bg); border-radius: 3px; 
	box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);}
.irs-bar {height: 6px; top: 25px; background-color:var(--blue); border-radius:3px;}
.irs-bar-edge {top: 25px; height: 8px; width: 11px; background-color:var(--bg);}
.irs-handle {width: 20px; height: 20px; top: 18px; background-color:var(--bg); border-radius:10px; 
	border: 4px solid var(--blue); box-shadow: 0 1px 3px rgba(0,0,0,0.3); cursor: pointer;}
.irs-from, .irs-to, .irs-single {font-size: 10px; margin-top: -5px; border: 1px solid var(--bdc);
	padding: 0 5px; height: 22px; display: flex; align-items: center; 
	background: var(--bg); color: var(--tt); border-radius: 3px;}

/* Sitewide card fit hotfix */
.item__img img, .page__img img, .anime-tooltip__poster {image-rendering: auto;}
.grid-items .anime-card {width: auto; min-width: 0;}
.grid-items .anime-card .item__img {aspect-ratio: 2 / 3;}
.grid-items .anime-card .item__desc {min-width: 0;}
.grid-items .anime-card .item__rates {display: flex; min-width: 0; justify-content: center; overflow: hidden;}
.grid-items .anime-card .item__rates-item {min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.grid-items .anime-card .item__rates-item.episodes {color: #fff;}
.grid-items .anime-card .item__rates-item.episodes::before {color: #25c2ff;}
.grid-items .anime-card .item__rates-item.anime-type {color: #fff;}
.grid-items .anime-card .item__rates-item.anime-type::before {color: #25c2ff;}
.has-carousel:not(.owl-carousel) > .anime-card {width: clamp(132px, 14vw, 160px);}
.page__comments .sect__title {display: block; height: auto; margin: 0 0 8px; padding: 0; border-radius: 0; background: transparent; color: var(--tt); box-shadow: none; font-size: 24px; line-height: 1.25; font-weight: 900;}
.page__comments .sect__title :is(h1,h2,h3) {font-size: inherit;}

/* SEO and category polish */
.sect > .sect__header .sect__title.flex-1 {flex: 0 1 auto; min-width: 0; max-width: 100%;}
.sect > .sect__header h1.sect__title {display: inline-flex; align-items: center; width: auto; max-width: 100%; line-height: 1.2;}

/* Dark theme and home polish */
.dt {--bg: #15131c; --bg-darker: #100f16; --bg-darker-1: #1d1a26; --bg-black: #0c0b11; --bg-blackest: #0a090f;
	--tt: #f4f0ff; --tt-fade: #b8afc8; --tt-fade-0: #cfc7da; --bdc: rgba(255,255,255,.09);}
.dt .wrapper__container--main {background: rgba(13,12,19,.88); box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 30px 80px rgba(0,0,0,.42);}
.dt .content > .carou:first-child {background: linear-gradient(135deg, #17131f, #211a2a); box-shadow: 0 18px 50px rgba(0,0,0,.28);}
.dt .sect {background: #211f2b; box-shadow: 0 16px 42px rgba(0,0,0,.2);}
.dt .sect__tabs {background: rgba(255,255,255,.08);}
.dt .sect__tabs button {color: #c9c1d7;}
.dt .sect__tabs button.is-active {background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);}
.dt .search-block__input, .dt .search-block__input:focus {background: #211f2b; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);}
.dt .search-block__input::placeholder {color: #b8afc8;}
.dt .mobile-menu {background: #121018;}
.dt .mobile-menu__header, .dt .mobile-menu__content .header__menu-hidden {background: #1c1924;}
.descr--main-seo {margin-top: 22px; border-radius: 12px; background: color-mix(in srgb, var(--bg) 93%, #fff 7%); box-shadow: 0 14px 38px rgba(0,0,0,0.09);}
.descr--main-seo h1 {font-size: 28px; line-height: 1.22; font-weight: 900; color: var(--tt);}
.descr--main-seo h2 {margin-top: 6px; font-size: 20px; line-height: 1.3; font-weight: 900; color: var(--tt);}
.descr--main-seo p {max-width: 1040px; line-height: 1.7;}
.seo-list {display: grid; gap: 9px; max-width: 1040px; margin: 2px 0 4px;}
.seo-list li {position: relative; padding-left: 22px; line-height: 1.6;}
.seo-list li::before {content: ""; position: absolute; left: 2px; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);}
.seo-list b {color: var(--tt);}
.seo-links {display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px;}
.seo-links a {display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 8px; background: color-mix(in srgb, var(--accent) 14%, var(--bg)); color: var(--tt); font-weight: 800; text-decoration: none;}
.seo-links a:hover {background: var(--accent); color: #fff;}
