/*
Theme Name: JKanime
Theme URI: http://jkanime.local/
Author: JKanime
Description: Anime streaming theme with a side-rail layout, hero slider, directory, weekly schedule and light/dark modes. Series are child categories of "Anime"; episodes are posts.
Version: 4.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: animeflv
Tags: entertainment, one-column, custom-logo, featured-images, translation-ready
*/


/*--------------------------------------------------------------
1. Tokens
--------------------------------------------------------------*/
:root {
	--c-page: #f7f7f7;
	--c-panel: #ffffff;
	--c-panel-2: #e9e9e9;
	--c-text: #3d3d3d;
	--c-heading: #111111;
	--c-title: #232323;
	--c-muted: #6c757d;
	--c-line: #ededed;
	--c-link: #007bff;
	--c-header: #35a9e2;
	--c-footer: #1d95cf;
	--c-accent: #ff9d00;
	--c-accent-2: #e68302;
	--c-dark-chip: #3d3d3d;
	--rail-w: 94px;
	--header-h: 76px;
}

html.jk-dark {
	--c-page: #303240;
	--c-panel: #474c67;
	--c-panel-2: #474c67;
	--c-text: #ffffff;
	--c-heading: #ffffff;
	--c-title: #efefef;
	--c-muted: #c3cdff;
	--c-line: #6b6e7c;
	--c-link: #9fb2ff;
	--c-header: #1f212b;
	--c-footer: #474c67;
}

/*--------------------------------------------------------------
2. Base
--------------------------------------------------------------*/
html,
body {
	height: 100%;
}

html { background: var(--c-page); }

body {
	margin: 0;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	background: var(--c-page);
	color: #212529;
	font-family: "Mulish", sans-serif;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	color: var(--c-heading);
	font-family: "Mulish", sans-serif;
	font-weight: 400;
}

h1 { font-size: 70px; }
h2 { font-size: 36px; }
h3 { font-size: 30px; }
h4 { font-size: 24px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

p {
	margin: 0 0 15px;
	color: var(--c-text);
	font-size: 15px;
	line-height: 25px;
}

img { max-width: 100%; height: auto; } /* height:auto keeps the natural ratio now that images carry width/height attributes */
a { transition: all .5s ease; }
a:hover,
a:focus { color: var(--c-accent); text-decoration: none; }
ul, ol { margin: 0; padding: 0; }

/* Keyboard focus: a visible ring (mouse clicks do not trigger :focus-visible on links and buttons). */
a:focus-visible,
.btn:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
[role="button"]:focus-visible {
	outline: 2px solid #1f7aff;
	outline-offset: 2px;
}
html.jk-dark a:focus-visible,
html.jk-dark .btn:focus-visible,
html.jk-dark button:focus-visible,
html.jk-dark input:focus-visible,
html.jk-dark select:focus-visible,
html.jk-dark textarea:focus-visible,
html.jk-dark [tabindex]:focus-visible,
html.jk-dark [role="button"]:focus-visible,
.header :focus-visible,
.footer :focus-visible,
.hero :focus-visible { outline-color: #fff; }
.header .form_search2 :focus-visible { outline-color: #1f7aff; outline-offset: -2px; }
.switchBtn input:focus-visible + .slidebtn { outline: 2px solid #fff; outline-offset: 2px; }

.page-content {
	flex: 1 0 auto;
	padding: 80px 10px 0 100px;
}

/* Bootstrap's 540 / 720 / 960 steps apply below 1200px; above it the page uses the full width. */
@media (min-width: 1200px) {
	.container { max-width: 1700px; padding: 0 3%; }
}

.contenido { padding-bottom: 60px; }
.spad { padding-top: 30px !important; padding-bottom: 30px !important; }
.t-dark { color: var(--c-heading); }
.d-bg { background: var(--c-panel); }
.d-border { border-color: var(--c-line) !important; }
.vacio { padding: 30px 0; text-align: center; color: var(--c-muted); }
.jk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.set-bg { background-repeat: no-repeat; background-size: cover; background-position: top center; }

.strlimit {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.scroll { overflow-y: auto; scrollbar-width: thin; }

[data-tooltip] { position: relative; }
[data-tooltip]:hover::after {
	content: attr(data-tooltip);
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	padding: 3px 9px;
	border-radius: 4px;
	background: rgba(0, 0, 0, .8);
	color: #fff;
	font-size: 12px;
	white-space: nowrap;
	pointer-events: none;
	z-index: 30;
}

/*--------------------------------------------------------------
3. Header
--------------------------------------------------------------*/
html.jk-dark body { color: #fff; }

.header {
	position: fixed;
	z-index: 101;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--header-h);
	background: var(--c-header);
}

.container-head { padding: 0 25px 0 14px; }

.header__logo { float: left; max-width: 170px; margin-right: 20px; padding: 20px 0 17px; transition: transform .5s ease; }
.header__logo:hover { transform: rotate(-3deg); }
.header__logo a { display: inline-block; vertical-align: top; }
/* Sized by height (jkanime's own logo is 36px tall on desktop, 27px on mobile) so
   any logo shape sits centred in the 76px bar. */
.header__logo img { display: block; width: auto; height: 36px; max-width: 170px; object-fit: contain; object-position: left center; }

.header__logo .logo-text {
	color: #fff;
	font-family: "Oswald", sans-serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 40px;
	letter-spacing: .5px;
	text-transform: uppercase;
	white-space: nowrap;
}

.header__right {
	position: relative;
	padding: 13px 0 15px;
	text-align: left;
}

.switchBtn {
	position: relative;
	z-index: 5;
	flex: 0 0 63px;
	width: 63px;
	height: 40px;
	top: 4px;
	margin: 0 0 8px;
	border-radius: 24px;
}

.switchBtn input { display: none; }

.slidebtn {
	position: absolute;
	inset: 0;
	padding: 4px;
	border-radius: 35px;
	background: #2488c1;
	color: #fff;
	cursor: pointer;
	transition: .4s;
}

.slidebtn::before {
	content: "\f6a9";
	position: absolute;
	left: 6px;
	bottom: 7px;
	width: 26px;
	height: 26px;
	padding: 3px;
	border-radius: 16px;
	background: #fff;
	color: #e38503;
	font-size: 19px;
	line-height: 20px;
	text-align: center;
	transition: .4s;
}

.switchBtn input:checked + .slidebtn { padding-left: 40px; background: #36a9e2; }
.switchBtn input:focus + .slidebtn { box-shadow: 0 0 1px #01aeed; }
.switchBtn input:checked + .slidebtn::before {
	content: "\ece7";
	left: 3px;
	background: #fff;
	color: #42a8e2;
	transform: translateX(26px);
}

.form_search2 { position: relative; display: flex; margin: 0; padding: 0 15px; }

.buscanime {
	width: 100%;
	padding: 12px 42px 12px 25px;
	border: 0;
	border-radius: 25px;
	background: #fff;
	color: var(--c-accent);
	font-size: 16px;
}

.buscanime::placeholder { color: #8a8a8a; opacity: 1; }

button.buton-form {
	position: absolute;
	right: 27px;
	top: 8px;
	width: 30px;
	height: 30px;
	border: 0;
	background: none;
	color: #36a9e2;
	font-size: 16px;
	cursor: pointer;
}

.header__right .usr-menu {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 50px;
	width: 50px;
	margin: 0;
	padding: 1px 6px;
	color: #fff;
	font-size: 36px;
	line-height: 36px;
	text-align: center;
}

.header__right .usr-menu:hover { color: #fff; }

.screen-overlay { display: none; }

.searchbg {
	position: fixed;
	z-index: 120;
	top: 0;
	left: 0;
	right: 0;
	padding: 14px;
	background: var(--c-header);
}

html.jk-dark .header { background: #1f212b; }
html.jk-dark .buscanime { background: #474c67; color: #fff; }
html.jk-dark .buscanime::placeholder { color: #e0e0e0; }

/*--------------------------------------------------------------
4. Side rail (bottom bar on small screens)
--------------------------------------------------------------*/
nav.mobile-bottom-nav {
	position: fixed;
	z-index: 100;
	top: 0;
	left: 0;
	width: var(--rail-w);
	height: 100%;
	padding-top: 100px;
	background: var(--c-panel);
	box-shadow: 0 -2px 5px -2px #cfcfcf;
}

.mobile-bottom-nav .mainmenu { display: block; }

.mobile-bottom-nav__item {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 15px;
	color: #333;
	font-size: 12px;
	line-height: 18px;
	text-align: center;
}

html.jk-dark .mobile-bottom-nav__item { color: #fff; }

.mobile-bottom-nav__item:hover { color: #ff9d00; }
.mobile-bottom-nav__item-content { display: flex; flex-direction: column; }
.mobile-bottom-nav__item-content i { font-size: 20px; line-height: 20px; font-weight: lighter; }

.mobile-bottom-nav__item--active {
	background: #e1f4ff;
	border-right: 2px solid #50bfff;
	color: #2d94cf;
}

html.jk-dark .mobile-bottom-nav__item--active { background: #303240; color: #fff; }

.fullmenu_container {
	position: absolute;
	left: var(--rail-w);
	bottom: 20px;
	width: 230px;
	padding: 10px 6px;
	border-radius: 8px;
	background: var(--c-panel);
	box-shadow: 0 4px 18px rgba(0, 0, 0, .25);
}

.fullmenu_container .fullmenu-title {
	margin: 0;
	padding: 6px 12px;
	font-family: "Mulish", sans-serif;
	line-height: 1.2;
	color: var(--c-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .8px;
	text-transform: uppercase;
}

.fullmenu_container .mobile-bottom-nav__item { padding: 6px 15px; text-align: left; }
.fullmenu_container .mobile-bottom-nav__item-content { flex-direction: row; align-items: center; font-size: 14px; }
.fullmenu_container .mobile-bottom-nav__item-content i { margin-right: 8px; font-size: 18px; }

/* Blocks that exist twice in the markup: .pc on desktop, .mov on small screens. */
.mov,
.anime_data.mov { display: none; }

/* The search shortcut only exists in the bottom bar on small screens. */
.mobile-bottom-nav .movmenu { display: none; }

/*--------------------------------------------------------------
5. Section titles, buttons, badges, pagination
--------------------------------------------------------------*/
.section-title { position: relative; margin-bottom: 30px; }
.section-title.init { width: 100%; margin-bottom: 12px; }
.section-title.init h4,
.section-title.init h2 { margin-bottom: 10px; }
.destacados h4,
.destacados h2 { color: #3a3a3a; }

.section-title h1,
.section-title h2,
.section-title h4,
.section-title h5 {
	position: relative;
	padding-left: 20px;
	color: var(--c-title);
	font-family: "Oswald", sans-serif;
	font-weight: 600;
	line-height: 21px;
	text-transform: uppercase;
}

.section-title h1,
.section-title h2 { font-size: 24px; }

.section-title h1::after,
.section-title h2::after,
.section-title h4::after,
.section-title h5::after {
	content: "";
	position: absolute;
	left: 0;
	top: -6px;
	width: 4px;
	height: 32px;
	background: var(--c-accent);
}

.section-title .subtitle { padding-left: 20px; margin-top: 8px; color: var(--c-muted); font-size: 13px; line-height: 1.2; }

.init_select { float: right; margin-top: -32px; }
#continuar .section-title.init { display: flex; align-items: center; justify-content: space-between; }
#continuar .section-title.init h2 { margin-bottom: 0; }
#continuar .init_select { display: flex; align-items: center; float: none !important; margin-top: 0 !important; }
.init_select select { height: 24px; margin-right: 10px; }
.see_all { position: relative; z-index: 1; display: inline-block; margin-left: 10px; padding: 3px 12px; }

a.vt {
	position: absolute;
	top: -6px;
	right: 0;
	padding: 8px 31px;
	border-radius: 22px;
	background: #3d3d3d;
	color: #fff;
}

a.vt:hover { background: #f99f00; color: #fff; }

.btn-primary { background: #007bff; border-color: #007bff; }
.btn-primary:hover { background: #0069d9; border-color: #0062cc; color: #fff; }

.badge { font-size: 12px; font-weight: 700; line-height: 12px; border-radius: 20px; padding: 7px 11px; color: #fff; }
.badge-primary { background: #007bff; }
.badge-secondary { background: #6c757d; }
.badge.currently { background: #fc9e00; }
.badge.finished { background: #dc3545; }
.badge.notyet { background: #17a2b8; }
.badge.TV { background: #1f7aff; }
.badge.Movie { background: #6c757d; }
.badge.OVA, .badge.Special { background: #e67e22; }
.badge.ONA { background: #17a2b8; }
.badge.Donghua { background: #c0392b; }
.badge.Hentai { background: #e84393; }

.pagination { padding-left: 0; list-style: none; border-radius: .25rem; }
nav .pagination { display: inline-block; width: 100%; margin: 20px 0 0; text-align: center; }
.pagination li { display: inline-block; }

.page-link {
	position: relative;
	display: block;
	margin-top: 5px;
	margin-left: -1px;
	padding: 14px 19px;
	border: 1px solid #e7e7e7;
	border-radius: 5px;
	background: #fff;
	color: #007bff;
	line-height: 1.25;
}

.page-link:hover { z-index: 2; border-color: #dee2e6; background: #e9ecef; color: #0056b3; }
.page-item.active .page-link { z-index: 3; border-color: #007bff; background: #007bff; color: #fff; }
.page-item.disabled .page-link { color: #6c757d; background: #fff; border-color: #dee2e6; pointer-events: none; cursor: auto; }

/*--------------------------------------------------------------
6. Hero slider
--------------------------------------------------------------*/
.hero { padding-top: 30px; }

.hero__slider { position: relative; z-index: 1; display: block; width: 100%; }
.hero__slider .owl-stage-outer { position: relative; overflow: hidden; transition: height .5s ease-in-out; }
.hero__slider .owl-stage { position: relative; }

.owl-item {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	width: 100%;
	border-radius: 5px;
	overflow: hidden;
	visibility: hidden;
	opacity: 0;
}

.hero__slider:not(.is-ready) .owl-item.active { position: relative; }
.owl-item.active,
.owl-item.is-out { visibility: visible; opacity: 1; }
.owl-item.is-in { animation: jk-fade-in 1s both; }
.owl-item.is-out { z-index: 11; animation: jk-fade-out 1s both; }
@keyframes jk-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes jk-fade-out { from { opacity: 1; } to { opacity: 0; } }

/* Dark corner and bottom shade that keep the text readable on any artwork. */
.owl-item::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	z-index: 8;
	width: 100%;
	height: 100%;
	background: linear-gradient(60deg, #000 0%, transparent 60%), linear-gradient(0deg, #383838 0%, transparent 60%);
	pointer-events: none;
}

/* phones: the text sits on top of the picture, so shade it from the bottom for legibility */
@media (max-width: 600px) {
	.owl-item::after { background: linear-gradient(0deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .6) 55%, rgba(0, 0, 0, .15) 100%); }
}

/* position only (no z-index): a stacking context here would trap the text under the .owl-item::after shade. */
.hero__items { position: relative; border-radius: 5px; overflow: hidden; }
.hero__pic { display: block; }
.hero__bg { position: absolute; z-index: -1; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__items > div { padding: 300px 24px 28px 24px; }
.hero__text { position: relative; z-index: 9; height: auto; }

.owl-item .ainfo { display: inline; padding: 5px; border-radius: 5px; background: #000000db; }
.owl-item .ainfo span { padding: 3px 8px; border-radius: 5px; color: #fff; }

.hero__text h2 {
	position: relative;
	top: -100px;
	margin: 5px 0 8px;
	color: #fff;
	font-family: "Oswald", sans-serif;
	font-size: 42px;
	font-weight: 700;
	line-height: 52px;
	opacity: 0;
	text-shadow: 0 1px 2px #676767;
	transition: all .4s;
}

.hero__text p {
	position: relative;
	top: -100px;
	min-height: 75px;
	margin-bottom: 35px;
	color: #fff;
	font-size: 16px;
	opacity: 0;
	transition: all .6s;
}

.owl-item.active .hero__text h2,
.owl-item.active .hero__text p { top: 0; opacity: 1; }

.slider-btns { z-index: 10; height: 75px; text-align: right; }

.slider-btns a {
	display: inline;
	margin-right: 7px;
	padding: .75rem 1.85rem;
	border-radius: 2rem;
	background: #333;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
	will-change: transform;
}

.slider-btns a:hover { color: #ff9d00; }
.slider-btns i { position: relative; top: 3px; font-size: 21px; }

.hero__slider .owl-nav { position: absolute; top: 10px; right: 20px; z-index: 15; width: 90px; height: 20px; }

.hero__slider .owl-nav button {
	position: absolute;
	top: 50%;
	z-index: 1;
	width: 40px;
	height: 40px;
	margin-top: 1px;
	padding: 0;
	border: 0;
	border-radius: 5px;
	background: #3d3d3d;
	color: #fff;
	font-size: 21px;
	line-height: 66px;
	text-align: center;
	cursor: pointer;
}

.hero__slider .owl-nav button.owl-prev { left: 2px; }
.hero__slider .owl-nav button.owl-next { right: 0; }
.hero__slider .owl-nav button span { display: block; z-index: 1; }

.hero__slider .owl-dots { position: absolute; left: 0; bottom: 10px; z-index: 12; width: 100%; font-size: 0; line-height: 0; text-align: center; }
.hero__slider .owl-dots button { display: inline-block; width: 8px; height: 8px; margin: 0 10px 0 0; padding: 0; border: 0; border-radius: 50%; background: #b7b7b7; cursor: pointer; }
.hero__slider .owl-dots button.active { background: #fff; }
.hero__slider .owl-dots button:last-child { margin-right: 0; }

/*--------------------------------------------------------------
7. Tabs and cards
--------------------------------------------------------------*/
.trending__anime { margin-bottom: 50px; }

.custom-tabs-home {
	display: flex;
	align-items: normal;
	margin: 0 0 16px;
	padding: 4px;
	border: 0;
	border-radius: 10px;
	background: #e9e9e9;
}

.custom-tabs-home .nav-item { margin-bottom: -1px; }
.custom-tabs-home .nav-link { margin-bottom: 0; padding: 8px 16px; border: 0; border-radius: 10px; color: #6c757d; }
.custom-tabs-home .nav-link.active { background: #f9a510; color: #fff; }

#anti_spoiler {
	position: relative;
	margin: 0 6px;
	padding: 9px 10px;
	border-radius: 5px;
	background: #3d3d3d;
	color: #fff;
	font-size: 19px;
	line-height: 19px;
	cursor: pointer;
}

.custom-tabs-home #anti_spoiler { background: #303240; border-radius: 12px; height: 39px; }

.card { border: 0; border-radius: 4px; background: var(--c-panel); }

.mode1 .card {
	overflow: hidden;
	margin: 0 8px;
	border: 0;
	box-shadow: 1px 1px 1px 0 rgba(0, 0, 0, .12);
}

.mode1 .card a { display: block; position: relative; flex: 1; color: inherit; }
.mode1 .d-thumb { position: relative; height: 100%; }
.mode1 .d-thumb img { display: block; width: 100%; height: 100%; border-radius: 3px; object-fit: cover; transition: transform .3s; }
.autoimage .d-thumb img { height: auto; aspect-ratio: 1 / .6; }
.autoimage .d-thumb img.is-poster { object-position: center 20%; }
.autoimagedir .d-thumb img { height: auto; aspect-ratio: 1 / 1.5; }
.mode1 .card:hover .d-thumb img { transform: scale(1.1); }

.d-thumb .badges-top { position: absolute; top: 10px; right: 5px; }
.d-thumb .badges-top .badge { margin-left: 8px; }
.d-thumb .badges-top .badge:first-child { margin-left: 0; }

.mode1 .card-body {
	position: absolute;
	bottom: 0;
	width: 100%;
	padding: 20px;
	background: linear-gradient(to bottom, transparent, #000);
}

.mode1 .card-title { margin: 0; color: #fff; font-size: 18px; line-height: 21.6px; text-shadow: 1px 2px 2px #000; }
.mode1 .strlimit { -webkit-line-clamp: 3; }
.autoimage h5.strlimit.card-title { -webkit-line-clamp: 2; }

.dir1 { margin-bottom: 24px; }
.dir1 > .card { flex: 1 1 auto; } /* fill the column even before the (lazy) image has loaded, so the grid does not jump */

/* Sidebar list */
.trending_div {
	margin: 24px 0 30px;
	padding: 19px;
	border-radius: 5px;
	background: var(--c-panel);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
}

.trending_div { height: fit-content; max-height: 1500px; overflow: scroll; overflow-x: hidden; }
.mode3 .p-3 { padding: 16px !important; }

.custom_thumb_home { flex: 0 0 28%; max-width: 28%; margin-right: 12px; }
.custom_thumb_home img { display: block; width: 100%; aspect-ratio: 1 / 1.43; object-fit: cover; }
.card-body-home { min-width: 0; flex: 1; }
.card-body-home .card-title { margin-bottom: 12px; color: var(--c-heading); font-size: 18px; line-height: 21.6px; }
.card-body-home .card-title a { color: var(--c-link); }
.card-body-home .card-title a:hover { color: var(--c-accent); }
.card-body-home .card-info { display: block; }
.card-body-home .card-info .badge { display: inline-block; margin: 0 4px 15px 0; }
.card-body-home .card-text { margin: 0; color: var(--c-text); font-size: 15px; line-height: 25px; }

/* Top list */
.toplist { padding: 0 15px; margin-bottom: 16px; }
.toplist .card { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #fff; border: 1px solid rgba(0, 0, 0, .125); }
.toplist .card a { display: block; position: relative; height: 100%; }
.toplist .card-img { display: inline-block; height: 100%; background: #28343b; }
.toplist .card-img img { display: block; width: 100%; height: 100%; aspect-ratio: 1 / 1.5; object-fit: cover; transition: .5s; }
.toplist .card:hover .card-img img { opacity: .5; }

.toplist .card-badge {
	position: absolute;
	top: 14px;
	right: 14px;
	padding: 7px 18px;
	border-radius: 5px;
	background: #ff9800;
	color: #fff;
}

.toplist .card-body {
	position: absolute;
	z-index: 1;
	bottom: 0;
	display: flex;
	align-items: center;
	width: 100%;
	padding: 49px 9px 20px;
	background: linear-gradient(to bottom, transparent, #000);
	color: #fff;
}

.toplist .ranking {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 50px;
	margin-right: 20px;
	padding: 0;
	border-radius: 5px;
	background: #5e5c64;
	color: #fff;
	font-size: 23px;
	font-weight: lighter;
	line-height: 50px;
	text-align: center;
}

.toplist .ranking[data-rank="1"],
.toplist .ranking[data-rank="2"],
.toplist .ranking[data-rank="3"] { background: #e08604; }
.toplist .ranking span { position: relative; z-index: 1; text-shadow: 1px 1px 1px #00000040; }

.toplist h5.card-title {
	display: -webkit-box;
	width: 80%;
	margin: 0;
	overflow: hidden;
	color: #fff;
	font-size: 16px;
	line-height: 1.2;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.toplist .card-synopsis { color: #fff; }
.toplist .card:hover .card-synopsis { display: block !important; color: #fff; font-size: 15px; line-height: 20px; }
.toplist .card:hover .card-title,
.toplist .card:hover .ranking { display: none; }

/* jkanime layout: the first four are large, the next six smaller */
.toplist.is-sm .card-badge { top: 10px; right: 10px; padding: 5px 12px; font-size: 14px; }
.toplist.is-sm .card-body { padding: 40px 9px 12px; }
.toplist.is-sm .ranking { width: 40px; height: 36px; margin-right: 10px; font-size: 18px; line-height: 36px; }
.toplist.is-sm h5.card-title { width: auto; flex: 1; min-width: 0; font-size: 14px; }

@media (max-width: 999px) { .toplist .ranking { font-size: 18px; } }
@media (max-width: 500px) {
	.toplist .ranking { height: 40px; margin-right: 8px; font-size: 18px; line-height: 40px; }
	.toplist h5.card-title { font-size: 14px; }
}
@media (max-width: 450px) {
	.toplist .ranking { width: 33px; height: 30px; font-size: 14px; line-height: 30px; }
	.toplist h5.card-title { font-size: 13px; }
	.toplist .card-body { padding: 10px 7px; }
	.toplist .card-badge { padding: 6px 10px; font-size: 14px; }
}

/*--------------------------------------------------------------
8. Directory, genre, filters
--------------------------------------------------------------*/
span.descripcion {
	display: block;
	margin-top: 20px;
	padding: 12px 15px;
	border-radius: 10px;
	background: #607d8b;
	color: #fff;
}

.anime__page__content { margin-bottom: 0; }
.anime__page__title { margin-bottom: 30px; padding-bottom: 10px; border-bottom: 2px solid rgba(255, 255, 255, .2); }
.anime__page__title .section-title { margin-bottom: 0; }
@media (max-width: 993px) { .anime__page__title .section-title { margin-bottom: 30px; } }
@media (max-width: 650px) { .col-sm-6 { flex: 0 0 50%; max-width: 50%; } }

nav.dir_options { display: flex; }
div.modes { display: block; width: 100%; text-align: right; }

nav.dir_options button {
	padding: 10px 15px;
	line-height: 1;
	border: 0;
	border-radius: 5px;
	background: #fff;
	box-shadow: 1px 1px 1px 0 rgba(0, 0, 0, .12);
	color: #212529;
	cursor: pointer;
}

div.modes .active { background: #1f7aff; color: #fff; }

.jkinfo { margin: -25px 0 17px; border-radius: 8px; background: #f69d13; color: #fff; text-align: center; }
.jkinfo p { margin-bottom: 15px; color: #fff; font-size: 21px; }
.jkinfo button { width: 50%; margin-left: 8px; padding: 10px; border: 0; border-radius: 5px; background: #fff; color: #212529; cursor: pointer; }
.jkinfo a:hover button { background: #4da8e2; color: #fff; }
.infoc { display: block; padding: 15px 26px 15px 25px; border-radius: 8px; background: rgb(0 0 0 / 66%); }
.text-muted { color: #6c757d; }

.hidden_filters { margin-bottom: 24px; }
.hidden_filters form { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.fil { display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; min-width: 0; }
.fil label { margin-bottom: 8px; color: var(--c-heading); }

.fil select,
.anime_bar select,
.init_select select {
	padding: 0 30px 0 18px;
	border: 1px solid #e8e8e8;
	border-radius: 5px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23999' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center;
	color: #333;
	font-size: 14px;
	-webkit-appearance: none;
	appearance: none;
}

.fil select { width: 100%; height: 40px; margin: 0 5px 5px 0; line-height: 40px; }
.fil.bte { grid-column: 1; flex-direction: row; justify-content: flex-end; align-items: flex-end; }
.fil.bte button,
.fil.bte a.btn { flex: 1 1 auto; height: 40px; margin: 0 5px 5px 0; padding: 6px 12px; line-height: 27px; white-space: nowrap; }
.fil.bte .btn-dark { background: #343a40; border-color: #343a40; }

.custom_flex { display: flex; flex-wrap: wrap; }
.custom_item2 { width: calc(33.333% - 20px); margin: 0 10px 20px; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.custom_item2 .card-body { padding: 14px 5px 5px 11px; }
.custom_thumb2 img,
.custom_thumb3 img { width: 100%; aspect-ratio: 1 / 1.45; object-fit: cover; }
.custom_thumb2 > .card-title { display: none; }
.custom_thumb3 { flex: 0 0 140px; }
.mode3.page_directorio .card { width: 100%; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.mode3.page_directorio .card-title { color: var(--c-heading); }
.mode3.page_directorio .card-title a { color: var(--c-link); }
.card-title-alt a { color: var(--c-link); font-size: 18px; }
.card-text.ep { color: var(--c-text); font-size: 15px; }
.card-text.synopsis, .card-text.strlimit { color: var(--c-muted); font-size: 14px; }

.card-status,
.bdg {
	display: inline-block;
	margin: 0 4px 8px 0;
	padding: 7px 11px;
	border-radius: 20px;
	background: #6c757d;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 12px;
}

.card-status.currently { background: #fc9e00; }
.card-status.finished { background: #dc3545; }
.bdg.TV { background: #1f7aff; }
.bdg.Movie { background: #6c757d; }

/*--------------------------------------------------------------
9. Anime page
--------------------------------------------------------------*/
.anime__details__content { margin-bottom: 25px; }
.picd { position: relative; }
.anime_pic img { display: inline-block; width: 100%; border-radius: 4px; }

.guardar_anime {
	position: relative;
	margin-top: 5px;
	padding: 7px 0;
	border: 1px solid #027bff;
	border-radius: 3px;
	background: #027bff;
	color: #fff;
	text-align: center;
	cursor: pointer;
}

.stats { display: inline-block; width: 100%; margin-top: 7px; border-radius: 5px; background: #6c757d; color: #fff; }
.stats .it { display: inline-block; width: 32%; padding: 5px; font-size: 15px; line-height: 22.5px; text-align: center; }

.anime_data {
	display: inline-block;
	position: relative;
	width: 100%;
	margin-top: 16px;
	padding: 8px 11px;
	border-radius: 4px;
	background: #eee;
	font-size: 15px;
	line-height: 22.5px;
	color: #212529;
}

.anime_data .card-bod { padding: 0; }
.anime_data ul { margin: 0; padding: 0; list-style: none; }
.anime_data li { color: #212529; }
.anime_data li span { display: block; font-size: 16px; font-weight: 700; line-height: 24px; color: #212529; }
.anime_data a { color: var(--c-link); }
.enemision { display: inline-block; padding: 1px 7px; line-height: 19px; border-radius: 5px; background: #4caf50; color: #fff; }
.enemision.finished { background: #dc3545; }

/* Vote / save / stats block under the poster (layout only, no backend) */
.anime_actions { margin-top: 8px; }
.anime_actions button { display: flex; align-items: center; width: 100%; margin: 0 0 6px; padding: 0; border: 0; border-radius: 5px; color: #fff; font-family: inherit; font-size: 17px; line-height: 1; cursor: pointer; }
.act-vote { height: 42px; background: #ff9800; }
.act-vote__n { display: flex; flex: 0 0 49px; align-items: center; justify-content: center; height: 100%; border-radius: 5px 0 0 5px; background: #b36b00; font-size: 14px; font-weight: 700; }
.act-vote__t { flex: 1; text-align: center; }
.act-save { justify-content: center; height: 40px; background: #0a7cff; }
.act-save i { margin-right: 6px; font-size: 20px; }
.act-stats { display: flex; padding: 8px 4px; border-radius: 5px; background: #4070f4; color: #fff; text-align: center; }
.act-stats div { flex: 1 1 0; min-width: 0; line-height: 1.3; border-radius: 4px; cursor: pointer; }
.act-stats div:hover,
.act-stats div.is-on { background: rgba(255, 255, 255, .22); }
.act-vote.is-on .act-vote__n { background: #8a5200; }
.act-save.is-on { background: #0a58ca; }
.act-stats b, .act-stats span { display: block; }
.act-stats b { font-size: 15px; }
.act-stats b i { margin-right: 3px; font-size: 14px; }
.act-stats span { font-size: 15px; }

.anime_info h1 { color: var(--c-heading); font-size: 30px; line-height: 36px; }
.anime_info p { display: block; margin: 0 0 15px; color: #000; font-size: 16px; line-height: 25px; }

.anime-tabs ul {
	display: flex;
	gap: .25rem;
	max-width: max-content;
	padding: .25rem;
	border-radius: 5px;
	background: #fff;
	box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
	list-style: none;
	overflow-x: auto;
	white-space: nowrap;
	scrollbar-width: none;
}

.anime-tabs li {
	display: flex;
	flex: 1 1 auto;
	justify-content: center;
	min-width: 6rem;
	max-width: 15rem;
	padding: .6rem 2rem;
	border-radius: 8px;
	color: #333;
	cursor: pointer;
}

.anime-tabs li:hover { background: #eee; }
.anime-tabs li.active { background: #e68302; color: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, .1); pointer-events: none; }

.anime_bar {
	display: flex;
	align-items: center;
	margin-bottom: 24px;
	padding: 10px 11px;
	border-radius: 7px;
	background: #e9e9e9;
}

.anime_bar select { height: 38px; min-width: 57px; margin-right: 0; }
.anime_bar #anti_spoiler { height: 37px; margin: 0 6px; }
.anime_bar input#qcap { flex: 1; height: 38px; padding: 1px 15px; border: 1px solid #dcdcdc; border-radius: 4px; background: #fff; }

#inverso {
	margin: 0 6px;
	padding: 7px 6px;
	border-radius: 5px;
	background: #3d3d3d;
	color: #fff;
	cursor: pointer;
	white-space: nowrap;
}

#proxep {
	color: #1d95cf;
	font-size: 12px;
	line-height: 18px;
	margin-bottom: 12px;
	padding: 9px 5px;
	border: 1px solid #ededed;
	border-radius: 3px;
	background: #fff;
	text-align: center;
}

#proxep p { margin: 0; color: #3d3d3d; font-size: 15px; line-height: 25px; }
#proxep a { color: #007bff; }
#proxep i.new { margin-left: 7px; padding: 3px 7px; border-radius: 5px; background: var(--c-accent); color: #fff; font-size: 13px; font-style: normal; }

#episodes-content.row { margin: 0; padding: 0; }
.animetab { padding: 0; }
.epcontent { padding: 0 14px 0 0; }
.anime__item { margin-bottom: 30px; }

.anime__item__pic { position: relative; height: 255px; border-radius: 10px; }
.anime__item__pic.homemini { height: 150px; }
.anime__item__pic { transition: all .5s ease; }
.anime__item__pic.set-bg:before {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 100%;
	height: 100%;
	border-radius: 5px;
	background: rgba(28, 149, 207, .6);
	opacity: 0;
	z-index: 2;
}
.anime__item__pic.set-bg:after {
	content: "\f691";
	display: inline-block;
	position: absolute;
	inset: 0;
	margin: auto;
	width: 70px;
	height: 100px;
	color: #fff;
	font-family: "tabler-icons";
	font-size: 70px;
	opacity: 0;
	z-index: 3;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.anime__item:hover .anime__item__pic.set-bg:before,
.anime__item:hover .anime__item__pic.set-bg:after { opacity: 1; }
.anime__item:hover .anime__item__pic { background-position: -3%; }
.anime__item__text li span { position: relative; z-index: 2; padding-right: 10px; }
.anime__item__text { padding-top: 0; }
.anime__item__text ul { margin: 0 0 10px; list-style: none; }

.anime__item__text ul li {
	position: relative;
	top: 9px;
	left: 9px;
	display: inline-block;
	padding: 1px 10px;
	border-radius: 50px;
	background: var(--c-accent);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	list-style: none;
}

.anime__item__text ul li.peli { background: #e53637; }
.anime__item__text ul.cap_num li { font-size: 12px; background: rgba(0, 0, 0, .65); }
.anime__item__text.tituloblanco { margin-top: 10px; }
.tituloblanco h5 { margin: 0; color: #333; font-size: 18px; line-height: 21.6px; }
.tituloblanco h5 a { position: relative; top: 5px; color: #333; font-size: 12px; font-weight: 700; line-height: 19px; }
html.jk-dark .tituloblanco h5 a { color: #fff; }


.animetab .tab,
.temporadas_tab .tab { margin-top: 10px; }
.alternativost, .anime_trailer { color: var(--c-heading); }

.accordian { margin-top: 20px; }
.accordian h4 { margin-bottom: 14px; color: var(--c-heading); }
.accordian li { list-style: none; }

/*--------------------------------------------------------------
10. Episode page
--------------------------------------------------------------*/
.breadcrumb-option { padding: 15px; }

.server-box { margin-bottom: 14px; }
#video_box { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 7px; background: #000; overflow: hidden; }
#video_box iframe,
#video_box video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 7px; }
.no-servers { padding: 80px 20px; margin: 0; color: #bbb; }

.breadcrumb__links h1 {
	margin-bottom: 8px;
	overflow: hidden;
	color: var(--c-heading);
	font-family: "Oswald", sans-serif;
	font-size: 27px;
	line-height: 32.4px;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.lang_def { color: var(--c-accent); }

.langopc { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: flex-start; }

.player-btn {
	width: 50px;
	height: 32px;
	margin: 0 0 5px 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #fff;
	color: #212529;
	line-height: 30px;
	text-align: center;
	cursor: pointer;
}

.player-btn i { font-size: 16px; }
.player-btn.activo,
.player-btn:hover { border-color: var(--c-accent); background: var(--c-accent); color: #fff; }

.dwnload-form { flex: 0 0 auto; order: -1; margin: 0 0 5px; text-align: right; }

#deflang {
	width: 189px;
	height: 32px;
	padding: 0 30px 0 18px;
	border: 1px solid #e8e8e8;
	border-radius: 5px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23999' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center;
	color: #212529;
	font-size: 14px;
	-webkit-appearance: none;
	appearance: none;
}

button.btnservers { margin-bottom: 16px; border: 1px solid #ddd; background: #fff; color: #000; }
.btnservers span { margin-right: 5px; font-size: 17px; font-weight: 700; color: #000; }
.btnservers b { padding: 4px 15px; border-radius: 7px; background: #f6a000; color: #fff; font-size: 15px; font-weight: 400; }
.btnservers i { float: right; padding: 5px; border-radius: 100%; background: #3d3d3d; color: #fff; }

.bg-servers { overflow: hidden; border-radius: 5px; background: #e9e9e9; }

.servers {
	display: inline-block;
	width: 20%;
	min-width: 90px;
	padding: 7px 15px;
	border: 1px solid #e9e9e9;
	background: #fff;
	color: #3d3d3d;
	font-size: 14px;
	font-weight: 800;
	line-height: 21px;
	text-align: center;
	vertical-align: top;
}

.servers:hover { color: var(--c-accent); }
.servers.active { border-color: #f99f00; background: #f99f00; color: #fff !important; }

.video-info { margin-top: 25px; padding: 13px 27px; border-radius: 3px; background: #fff; color: #000; font-size: 14px; }
.video-info p { color: #3d3d3d; font-size: 15px; }
.video_t { flex: 0 0 85px; margin-right: 15px; padding: 0; }
.video_t img { width: 85px; }
.video_i { padding: 0; }
.video_i a { color: #007bff; font-size: 22px; line-height: 28px; }
.video_i span { color: #000; }

.download { margin-top: 12px; padding: 11px 17px; border-radius: 5px; background: #fff; box-shadow: -2px 1px 5px rgba(0, 0, 0, .05); }
.download table { width: 100%; }
.download th, .download td { padding: 8px 10px; border-bottom: 1px solid var(--c-line); color: #333; }

.ep_bar { padding: 8px 7px; border: 1px solid #ddd; border-radius: 5px; }
.ep_bar .anime_bar { margin-bottom: 24px; padding: 0; background: transparent; border-radius: 7px; }
.ep_bar .anime_bar select { min-width: 0; height: 38px; padding: 0 22px 0 10px; font-size: 13px; background-position: right 9px center; }
.ep_bar #qcap { min-width: 60px; padding: 1px 12px; }

#ep_modo { margin: 0 4px; padding: 9px 8px; border-radius: 5px; background: #3d3d3d; color: #fff; font-size: 19px; line-height: 19px; cursor: pointer; }
.ep_bar #anti_spoiler { height: 37px; margin: 0 4px; padding: 9px 8px; }

.epc { max-height: 560px; overflow-x: hidden; overflow-y: scroll; border: 1px solid #ddd; border-radius: 5px; background: #fff; }
.epc ul { margin: 0; padding: 0; list-style: none; }

.list-group-item {
	position: relative;
	padding: 4px 5px;
	border: 0;
	border-bottom: 1px solid #ddd;
	border-radius: 4px;
	background: transparent;
}

.list-group-item a { display: block; color: #007bff; }
.list-group-item .vt { position: relative; float: left; width: 110px; height: 70px; margin-right: 15px; border-radius: 3px; overflow: hidden; }
.list-group-item .vt img { width: 110px; height: 70px; object-fit: cover; }
.list-group-item-heading { margin: 0; color: #088bf3; font-size: 16px; line-height: 19.2px; }
.list-group-item .subtl { display: block; overflow: hidden; color: #464646; line-height: 24px; text-overflow: ellipsis; white-space: nowrap; }
.list-group-item time { display: block; color: #777; font-size: 11px; line-height: 16.5px; }
.list-group-item a::after { content: ""; display: block; clear: both; }
.list-group-item.current { background: #3d3d3d; }
.list-group-item.current h5 { color: #fff; }
.list-group-item.current .subtl { color: #999; }
.list-group-item.current time { color: #999; }
.list-group.row-group { display: block; }
.list-group-item.m3 { display: inline-block; width: 20%; padding: 0; border: 1px solid #ddd; text-align: center; }
.list-group-item.m3 h5 { padding: 8px 0; font-size: 16px; }
.num-group { display: flex; flex-wrap: wrap; padding: 8px !important; }
.more_ep { padding: 8px; }
.more_ep .btn { width: 100%; }

.anime_slug { padding: 8px; text-align: center; }

.ep_bar .btn-primary {
	border: 1px solid #ddd;
	background: #fff;
	color: #373737;
	font-weight: 400;
}

.ep_bar .btn-primary:hover { background: #f2f2f2; color: var(--c-accent); }
.videonav { display: block; }

/* Cinema mode: .pbox dims the page, the player and the header/rail stay above it */

.pbox { position: fixed; top: 0; left: 0; z-index: 39; width: 100%; height: 100%; background-color: rgba(0, 0, 0, .8); opacity: 0; visibility: hidden; transition: .2s; cursor: pointer; }

.player_conte { position: relative; z-index: 40; }



.anime__details__review { margin: 30px 15px 55px; }
.comments-lazy-toggle { padding: 9px 22px; border: 0; border-radius: 30px; background: var(--c-accent); color: #fff; font-weight: 700; cursor: pointer; }

html.jk-dark .download,
html.jk-dark .anime_data,
html.jk-dark #proxep,
html.jk-dark .anime-tabs ul,
html.jk-dark .video-info,
html.jk-dark .epc,
html.jk-dark button.btnservers { background: var(--c-panel); border-color: var(--c-line); }
html.jk-dark .anime_data, html.jk-dark .anime_data li, html.jk-dark .anime_data li span,
html.jk-dark .download th, html.jk-dark .download td, html.jk-dark .video-info,
html.jk-dark .video-info p, html.jk-dark .video_i span, html.jk-dark button.btnservers,
html.jk-dark .btnservers span, html.jk-dark #proxep p, html.jk-dark .anime-tabs li { color: #fff; }
html.jk-dark .servers { background: #1f212b; color: #fff; border-color: #303240; }
html.jk-dark .bg-servers { background: #303240; }
html.jk-dark .ep_bar { border-color: var(--c-line); }
html.jk-dark .list-group-item { border-color: var(--c-line); }
html.jk-dark .list-group-item .subtl { color: #c3cdff; }
html.jk-dark .ep_bar .btn-primary { background: var(--c-panel); color: #fff; border-color: #6b7087; }

/* Episode page, dark mode: same palette as jkanime */
html.jk-dark .player-btn { border-color: #6b6e7c; background: var(--c-panel); color: #fff; }
html.jk-dark .player-btn.activo,
html.jk-dark .player-btn:hover { border-color: var(--c-accent); background: var(--c-accent); }
html.jk-dark .bg-servers { background: #1f212b; }
html.jk-dark .servers { border-color: #6b6e7c; }
html.jk-dark .servers.active { border-color: #f99f00; background: #f99f00; }
html.jk-dark .video-info { background: #262833; border-color: transparent; }
html.jk-dark .video_i a { color: #a9a8ea; }
html.jk-dark .ep_bar .anime_bar input#qcap { border-color: #6b6e7c; background: var(--c-panel); color: #fff; }
html.jk-dark .ep_bar .anime_bar input#qcap::placeholder { color: #d6d9ee; }
html.jk-dark .list-group-item .subtl,
html.jk-dark .list-group-item time { color: #fff; }
html.jk-dark .list-group-item time { font-weight: 700; }
/* Series page, dark mode */
html.jk-dark .anime_info p { color: #fff; }
html.jk-dark .anime-tabs li:hover { background: #5a5f7d; }
html.jk-dark .anime_bar { background: #1f212b; }
html.jk-dark .anime_bar input#qcap { border-color: #d9d9d9; background: #d9d9d9; color: #212529; }
html.jk-dark .anime_bar input#qcap::placeholder { color: #6b6e7c; }
html.jk-dark #inverso { background: var(--c-panel); border: 1px solid #6b6e7c; }
html.jk-dark #proxep { border-color: transparent; }
html.jk-dark #proxep a { color: #a9a8ea; }
html.jk-dark .list-group-item.current { background: #3b87b5; }
html.jk-dark .list-group-item.current h5,
html.jk-dark .list-group-item.current .subtl,
html.jk-dark .list-group-item.current time { color: #fff; }

/*--------------------------------------------------------------
11. Schedule
--------------------------------------------------------------*/
.horarioh2 { color: var(--c-heading); font-size: 36px; line-height: 43.2px; }

.app-layout { border-radius: 7px; background: var(--c-panel); box-shadow: 0 1px 1px rgba(0, 0, 0, .1); }
.scrollFill { padding-bottom: 13px; overflow: hidden; }
.mainfilters { display: flex; align-items: flex-start; margin: 0; padding: 20px 10px 0; }
.dias_box { position: relative; display: flex; overflow: hidden; margin: 0; padding: 0 15px; list-style: none; border-radius: 5px; }

.dias_box li {
	position: relative;
	margin-right: 7px;
	padding: 10px 13px;
	border-radius: 6px;
	background: #f7f7f7;
	color: #000;
	cursor: pointer;
	white-space: nowrap;
}

.dias_box li:hover { background: #ececec; }
.dias_box li.activo { background: #2ca2ea; color: #fff; }
.dias_box li .hoy { margin-left: 6px; padding: 1px 6px; border-radius: 3px; background: rgba(0, 0, 0, .25); font-size: 10px; text-transform: uppercase; }

.horary-filter { text-align: right; }
.horary-filter input { width: 268px; max-width: 100%; height: 44px; padding: 9px 5px; border: 1px solid #ddd; border-radius: 5px; background: #fff; color: #000; }

.semana-vacia { margin: 0; padding: 20px 26px 40px; color: var(--c-text); text-align: left; }
.box.semana { display: none; text-align: center; }
.box.semana.on { display: block; }
.box.semana > h2 { padding: 15px 26px 26px; color: var(--c-heading); font-size: 25px; line-height: 30px; text-align: left; }

.cajas { display: grid; grid-template-columns: repeat(6, 1fr); padding: 15px; }
.cajas .box.img { position: relative; margin: 10px; padding: 5px; }
.boxx { position: relative; }
.boxx > a img { display: block; width: 100%; border-radius: 10px; aspect-ratio: .7 / 1; object-fit: cover; }
.shadowTitle { position: absolute; bottom: 0; left: 0; width: 100%; overflow: hidden; border-radius: 0 0 10px 10px; background: linear-gradient(to bottom, transparent, #000); }
.shadowTitle h3 { padding: 10px 6px; color: #fff; font-size: 16px; line-height: 19.2px; text-align: center; }
.cajas .last { color: #000; }
.cajas .last a { display: block; overflow: hidden; color: #000; }
.cajas .last span { display: inline-block; margin-top: 8px; padding: 3px 18px; border-radius: 5px; font-size: 14px; line-height: 21px; }
.cajas .last time { display: block; color: #444; font-size: 12px; line-height: 18px; }
html.jk-dark .cajas .last, html.jk-dark .cajas .last a { color: #fff; }
html.jk-dark .cajas .last time { color: #c3cdff; }
html.jk-dark .dias_box li { background: #303240; color: #fff; }
html.jk-dark .horary-filter input { background: var(--c-panel); color: #fff; border-color: var(--c-line); }

/*--------------------------------------------------------------
12. Requests page, 404, generic pages
--------------------------------------------------------------*/
.anime-header h1 { margin-bottom: .5rem; font-size: 2.5rem; font-weight: 800; }
.anime-header p { color: var(--c-text); }
.search-card { margin-bottom: 2rem; padding: 2rem; border: 1px solid #f0ebf8; border-radius: 20px; background: var(--c-panel); }
.search-input-group .form-control { height: auto; padding: 24px 20px; border: 0; border-radius: 50px 0 0 50px; background: #ebebeb; }
.search-input-group .btn-search { padding: .75rem 2rem; border-radius: 0 50px 50px 0; font-weight: 600; color: #fff; }
.pedidos_form .form-control { height: auto; padding: 12px 20px; border: 0; border-radius: 50px; background: #ebebeb; }
.jk-404 img { max-width: 100%; height: auto; margin-bottom: 20px; }
.jk-404 .btn { margin: 10px 4px 0; }
.jk-page .entry-content { color: var(--c-text); line-height: 1.7; }

/*--------------------------------------------------------------
13. Footer
--------------------------------------------------------------*/
.footer { position: relative; flex-shrink: 0; margin-left: 0; padding: 60px 0 40px; background: var(--c-footer); }
.footer__nav { text-align: left; }
@media (min-width: 993px) { .footer { padding-left: var(--rail-w); } }
.footer__nav ul { margin: 0; padding: 0; list-style: none; }
.footer__nav li { position: relative; display: inline-block; margin-right: 40px; list-style: none; }
.footer__nav li:last-child { margin-right: 0; }
.footer__nav li a { display: block; padding: 2px 10px; border-radius: 10px; background: #35a9e2; color: #fff; font-size: 15px; font-weight: 700; }
.page-up { position: absolute; left: 50%; top: -25px; margin-left: -25px; }
.page-up a { display: inline-block; width: 50px; height: 50px; border-radius: 50%; background: #ff9d00; color: #fff; font-size: 36px; line-height: 50px; text-align: center; }
.page-up a span { position: relative; top: 0; left: 0; font-size: 30px; }
html.jk-dark .footer { background: #474c67; }
html.jk-dark .footer__nav li a { background: #777ea7; }

/*--------------------------------------------------------------
14. Small screens
--------------------------------------------------------------*/
@media (max-width: 992px) {
	:root { --rail-w: 0px; }

	.pc { display: none !important; }
	.mov,
	.anime_data.mov { display: block; }
	.mov.movpic { text-align: center; }
	.mov.movpic img { max-width: 180px; border-radius: 4px; }

	/* The header scrolls away with the page; only the bottom bar stays. */
	.header { position: relative; z-index: 100; height: auto; }
	.header__logo { display: block; float: left; width: auto; max-width: none; padding-top: 20px; padding-bottom: 0; }
	.header__logo img { height: 27px; max-width: 126px; position: relative; top: 4px; }
	.header__right { position: relative; top: 5px; justify-content: flex-end; align-items: flex-start; }
	.switchBtn { top: 0; }
	.header .form_search2 { display: none; }
	.container-head { min-height: 61px; }
	.header__right .usr-menu { top: 0; margin-right: 10px; }

	.page-content { padding: 0; }
	.footer { margin-left: 0; padding-bottom: 110px; }
	.footer__nav { margin-bottom: 15px; }

	nav.mobile-bottom-nav {
		top: auto;
		bottom: 0;
		right: 0;
		z-index: 103;
		width: 100%;
		height: 70px;
		padding-top: 0;
	}

	.mobile-bottom-nav .mainmenu { display: flex; height: 100%; }
	.mobile-bottom-nav .movmenu { display: flex; }
	.mobile-bottom-nav__item { flex: 1 1 0; padding: 0; }
	.mobile-bottom-nav__item--active { border-right: 0; background: none; }
	html.jk-dark .mobile-bottom-nav__item--active { background: #303240; }
	.fullmenu_container { left: auto; right: 10px; bottom: 80px; }

	.hidden_filters form { grid-template-columns: repeat(2, 1fr); }
	.custom_item2 { width: calc(50% - 20px); }
	.langopc { justify-content: flex-start; }
	.bg-servers .servers { width: 50%; }
	.trending_div { max-height: 1200px; }
	.init_select { float: none !important; margin-top: 0 !important; }
	.cajas { grid-template-columns: repeat(3, 1fr); }
	.anime-tabs ul { max-width: 100%; }
	.anime-tabs li { min-width: 0; padding: 10px 5px; font-size: 12px; }
}

@media (min-width: 768px) and (max-width: 991px) {
	.header__right { padding: 0; }
}

@media (max-width: 1200px) {
	.switchBtn { top: 0; }
}

@media (min-width: 993px) {
	.header__logo .logo-text { line-height: 44px; }
}

@media (max-width: 575.98px) {
	.autoimage .card-body { padding: 12px 11px; }
	.custom_item2 { width: 100%; margin: 0 0 16px; }
	.cajas { grid-template-columns: repeat(2, 1fr); padding: 5px; }
	.custom-tabs-home .nav-link { padding: 10px; font-size: 14px; }
}

/* Hero breakpoints */
@media (max-width: 992.98px) { .hero { overflow: hidden; } }

@media (max-width: 600px) {
	.slider-btns a { padding: 14px !important; font-size: 12px; }
	.slider-btns { text-align: left; }
	.owl-item .ainfo { font-size: 12px; }
	section.hero { padding-top: 0; }
	.owl-item,
	.hero__items { padding: 0; border-radius: 0 !important; }
	.hero__items > div { padding: 50px 24px 28px 24px !important; }
}

@media (max-width: 479px) {
	.hero__slider .owl-nav { display: none; }
	.hero__items { padding: 50px 0 0 15px; }
	.hero__text h2 { font-size: 32px; }
}

.recientes_div .hist-extra { display: none; }
.recientes_div.expanded .hist-extra { display: flex; }

.guardados .vacio { display: inline-block; width: 100%; margin: 25px 10px; padding: 0; color: #3d3d3d; text-align: center; }
html.jk-dark .guardados .vacio { color: #fff; }
.guardados.has-history.spad { padding-bottom: 10px !important; }
.has-history .hist-clear { margin: -8px 0 0; }
.has-history #loadbtn { margin: 0; top: 0; }
.has-history + .col-12.p-3 { padding: 0 !important; }

/* "Continuar mirando" can be folded; closed it is just its title bar. */
.hist-toggle {
	position: relative;
	z-index: 1;
	width: 30px;
	height: 30px;
	margin-left: 10px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #e1e3e6;
	color: #3d3d3d;
	line-height: 30px;
	cursor: pointer;
}
.hist-toggle i { display: inline-block; transition: transform .2s; }
html.jk-hist-open .hist-toggle i { transform: rotate(180deg); }
html.jk-dark .hist-toggle { background: #3d4655; color: #fff; }
html:not(.jk-hist-open) #recientes_div,
html:not(.jk-hist-open) #mas_recientes,
html:not(.jk-hist-open) #continuar + .col-12.p-3 { display: none; }
html:not(.jk-hist-open) #continuar.spad { padding-bottom: 0 !important; }
.hist-clear { display: block; margin: 0 0 15px; color: var(--c-muted); font-size: 13px; text-align: right; }

#recientes_div { position: relative; width: 100%; }
.row.recientes_div { margin-top: 23px; }
#recientes_div #loadbtn { position: relative; top: -10px; margin: 9px 1px; text-align: center; }

@media (max-width: 479px) { .footer__nav li { margin-right: 10px; } }

/*--------------------------------------------------------------
Styled dropdowns
--------------------------------------------------------------*/
.nice-select {
	position: relative;
	display: block;
	clear: both;
	float: left;
	width: auto;
	height: 32px;
	padding-left: 18px;
	padding-right: 30px;
	border: solid 1px #e8e8e8;
	border-radius: 5px;
	background-color: #fff;
	color: #212529;
	font-family: inherit;
	font-size: 14px;
	font-weight: normal;
	line-height: 32px;
	text-align: left !important;
	white-space: nowrap;
	cursor: pointer;
	user-select: none;
	transition: all .2s ease-in-out;
	-webkit-tap-highlight-color: transparent;
}

.nice-select:hover { border-color: #dbdbdb; }
.nice-select:active,
.nice-select.open,
.nice-select:focus { border-color: #999; }

.nice-select::after {
	content: "";
	position: absolute;
	right: 12px;
	top: 50%;
	display: block;
	width: 5px;
	height: 5px;
	margin-top: -4px;
	border-right: 2px solid #999;
	border-bottom: 2px solid #999;
	pointer-events: none;
	transform: rotate(45deg);
	transform-origin: 66% 66%;
	transition: all .15s ease-in-out;
}

.nice-select.open::after { transform: rotate(-135deg); }
.nice-select.disabled { border-color: #ededed; color: #999; pointer-events: none; }

.nice-select .list {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 9;
	min-width: 100%;
	max-height: 300px;
	margin: 4px 0 0;
	padding: 0;
	overflow: hidden auto;
	border-radius: 5px;
	background-color: #fff;
	box-shadow: 0 0 0 1px rgba(68, 68, 68, .11);
	opacity: 0;
	pointer-events: none;
	transform: scale(.75) translateY(-21px);
	transform-origin: 50% 0;
	transition: all .2s cubic-bezier(.5, 0, 0, 1.25), opacity .15s ease-out;
}

.nice-select.open .list { opacity: 1; pointer-events: auto; transform: scale(1) translateY(0); }
.nice-select .list:hover .option:not(:hover) { background-color: transparent !important; }

.nice-select .option {
	min-height: 40px;
	padding-left: 18px;
	padding-right: 29px;
	font-weight: 400;
	line-height: 40px;
	list-style: none;
	text-align: left;
	cursor: pointer;
	outline: none;
	transition: all .2s;
}

.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus { background-color: #f6f6f6; }
.nice-select .option.selected { font-weight: bold; }

.fil .nice-select { width: calc(100% - 5px); height: 40px; margin: 0 5px 5px 0; line-height: 40px; }
.nice-select.anime__pagination { padding: 18px 35px 18px 20px; line-height: 0; }
.ep_bar .nice-select.anime__pagination { padding: 18px 24px 18px 12px; }
html.jk-dark .nice-select.anime__pagination { border: 1px solid #262834; background: #d9d9d9; }
@media (max-width: 600px) { div#filtro_div .nice-select { margin: 0; } }

@media (max-width: 600px) {
	div#filtro_div.n .fil { display: inline-flex; width: 49%; gap: 0; padding: 1%; }
	div#filtro_div.n .fil.bte { width: 100%; margin-top: 10px; }
	.hidden_filters form { display: inline-block; width: 100%; }
	.mode1.page_directorio,
	.mode3.page_directorio { padding: 10px; }
}

/* No sideways scroll: nested rows and the bottom bar must never exceed the viewport. */
.page-content { overflow-x: hidden; }
@media (max-width: 992px) {
	nav.mobile-bottom-nav { overflow: hidden; }
	.mobile-bottom-nav__item { min-width: 0; }
}

/* Dark mode details */
html.jk-dark nav.mobile-bottom-nav { box-shadow: 0 -2px 5px -2px #323232; }
html.jk-dark .custom-tabs-home { background: #474c67; color: #fff; }
html.jk-dark .custom-tabs-home .nav-link { color: #abb2dc; }
html.jk-dark .custom-tabs-home .nav-link.active { color: #fff; }
html.jk-dark #anti_spoiler { border-color: #6b6e7c; color: #efefef; }

@media (max-width: 600px) {
	.anime_info h1 { margin-bottom: 8px; font-size: 25px; line-height: 26px; }
	.anime_info p.scroll { max-height: 130px; overflow-x: hidden; overflow-y: auto; font-size: 12px !important; line-height: 21px; }
}

/* ==============================================================
   Sign-in / sign-up dialog
   ============================================================== */
.header__right button.usr-menu { border: 0; background: none; cursor: pointer; }

@keyframes modal { 0% { opacity: 0; transform: scale3d(.3, .3, .3); } 50% { opacity: 1; } }

.modal-d { position: fixed; top: 0; bottom: 0; left: 50%; z-index: 105; width: 90%; max-width: 800px; margin: auto; padding: 10px; color: #5a5a5a; transform: translate(-50%, 0); }
.modal-d:focus { outline: none; }
#modal-back { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 104; margin: auto; background: #000; opacity: .8; }
div#modal-c { position: relative; height: 100%; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 0 7px rgba(0, 0, 0, .5); animation: modal 500ms cubic-bezier(.215, .61, .355, 1) 250ms backwards; }
div#modal-c > h3 { display: none; }
.modal-d span { display: flex; flex-wrap: wrap; width: 100%; margin: 0 auto; padding: 0; }
#modal span#mc { display: block; padding: 32px; }
div#buttons { position: absolute; right: 0; bottom: 0; padding: 3px 0; }
div#buttons a { display: inline-block; height: 100%; padding: 7px 15px; color: #000; }

.form-outline { position: relative; }
.form-outline i { position: absolute; left: 10px; top: 100%; bottom: 100%; height: 60px; margin: auto; font-size: 20px; }

.auth-container { position: relative; width: 100%; height: 560px; overflow: hidden; }
.auth-container.active { height: 600px; }
.auth-wrapper { position: absolute; display: flex; flex-direction: column; justify-content: center; width: 100%; height: 100%; padding: 30px; transition: transform .6s ease-in-out; }
.auth-wrapper h2 { color: #111; font-size: 19px; font-weight: 700; }
.auth-wrapper.login { transform: translateX(0); }
.auth-wrapper.register { transform: translateX(100%); }
.auth-container.active .auth-wrapper.login { transform: translateX(-100%); }
.auth-container.active .auth-wrapper.register { transform: translateX(0); }
.gauth, .dauth { margin-bottom: 2px; color: #fff; background: #eee; }
.gauth:hover, .dauth:hover { color: #fff; opacity: .8; }
.gauth { background: #ff5722; }
.dauth { background: #818cf8; }
html.jk-dark .auth-wrapper p a { color: #abb2dc; }
