/* Animeav1 — home, header y footer */

:root {
	--av1-bg: #191922;
	--av1-bg-2: #1e1e28;
	--av1-header: rgba(25, 25, 34, 0.96);
	--av1-card: #22222e;
	--av1-text: #ffffff;
	--av1-muted: #8b93a7;
	--av1-accent: #7c5cff;
	--av1-accent-2: #6d4aff;
	--av1-discord: #5865F2;
	--av1-genre: rgba(140, 175, 255, 0.16);
	--av1-genre-text: #c5d4ff;
	--av1-line: rgba(255, 255, 255, 0.08);
	--av1-radius: 8px;
	--av1-max: 1360px;
	--av1-gap: 18px;
	--av1-font: "Inter", "Roboto", Arial, sans-serif;
	--av1-font-menu: "Satoshi", sans-serif;
}

body.av1-theme {
	background: var(--av1-bg) !important;
	color: var(--av1-text);
	font-family: var(--av1-font) !important;
}

#header.av1-header {
	float: none;
	width: 100%;
	position: sticky;
	top: 0;
	z-index: 200;
	background: var(--av1-header);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--av1-line);
	height: 68px;
	display: block !important;
	box-shadow: none;
}

.av1-search form button[type="submit"] {
	background: transparent !important;
	color: #9aa3b5 !important;
	box-shadow: none !important;
	width: 38px;
	margin: 0;
	padding: 0;
}

body.av1-theme #dt_contenedor {
	background: var(--av1-bg) !important;
	min-height: 100vh;
}

body.av1-theme #contenedor {
	margin-top: 0 !important;
}

body.av1-home #contenedor,
body.av1-theme.home #contenedor,
body.av1-theme.front-page #contenedor {
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	float: none !important;
	background: transparent !important;
}

body.av1-theme .fixheadresp,
body.av1-theme header.main,
body.av1-theme footer.main,
body.av1-home .letter_home,
body.av1-home .module .sidebar {
	display: none !important;
}

/* Header */

.av1-header-inner {
	max-width: var(--av1-max);
	margin: 0 auto;
	height: 68px;
	padding: 0 28px;
	display: flex;
	align-items: center;
	gap: 14px;
}

.av1-logo {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	text-decoration: none !important;
	line-height: 1;
}

.av1-logo img {
	height: 36px;
	width: auto;
	max-width: 170px;
	display: block;
}

.av1-logo .av1-logo-light {
	display: none;
}

html.av1-light .av1-logo .av1-logo-dark {
	display: none;
}

html.av1-light .av1-logo .av1-logo-light {
	display: block;
}

.av1-logo-text {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.04em;
	color: #fff;
	display: inline-flex;
	align-items: center;
}

.av1-search {
	flex: 0 1 280px;
	position: relative;
	max-width: 280px;
	width: 100%;
	margin: 0;
}

.av1-search form {
	display: flex;
	align-items: center;
	background: #212433;
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 12px;
	height: 42px;
	padding: 6px;
	gap: 0;
	box-sizing: border-box;
}

.av1-search-icon {
	width: 32px;
	height: 28px;
	border: 0;
	background: transparent !important;
	color: rgb(135, 138, 168);
	cursor: pointer;
	flex: 0 0 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	box-shadow: none !important;
}

.av1-search-icon .av1-icon {
	width: 16px;
	height: 16px;
}

.av1-search input[type="text"] {
	flex: 1 1 auto;
	min-width: 0;
	height: 28px;
	border: 0 !important;
	background: transparent !important;
	color: #fff !important;
	font-family: Satoshi, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	padding: 0 8px 0 0 !important;
	box-shadow: none !important;
	width: auto !important;
}

.av1-search input[type="text"]::placeholder {
	color: rgb(135, 138, 168);
	font-family: Satoshi, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	opacity: 1;
}

.av1-filter-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	height: 28px;
	padding: 0 10px;
	margin: 0;
	border: 0;
	border-radius: 6px;
	background: #2f334c !important;
	color: rgb(135, 138, 168) !important;
	font-family: Satoshi, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	cursor: pointer;
	white-space: nowrap;
	flex: 0 0 auto;
	box-shadow: none !important;
	text-decoration: none !important;
}

.av1-filter-btn i,
.av1-filter-btn .av1-icon {
	width: 13px;
	height: 13px;
	flex: 0 0 13px;
	opacity: 0.95;
}

.av1-icon {
	display: block;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	stroke: currentColor;
}

.av1-icon-img {
	object-fit: contain;
	display: block;
}

.av1-nav-link .av1-icon-img,
.av1-mobile-menu .av1-icon-img,
.av1-user .av1-icon-user {
	filter: brightness(0) saturate(100%) invert(58%) sepia(8%) saturate(450%) hue-rotate(202deg) brightness(95%) contrast(88%);
}

.av1-nav-link:hover .av1-icon-img,
.av1-mobile-menu a:hover .av1-icon-img {
	filter: brightness(0) invert(1);
}

.av1-filter-btn:hover,
.av1-filter-btn.is-open {
	color: #ffffff !important;
	background: #3a3f5c !important;
}

.av1-filter-panel {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	background: #22222e;
	border: 1px solid var(--av1-line);
	border-radius: 12px;
	padding: 14px;
	z-index: 50;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.av1-filter-head {
	font-size: 12px;
	color: var(--av1-muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 10px;
}

.av1-filter-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.av1-filter-list a {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--av1-genre);
	color: var(--av1-genre-text) !important;
	font-size: 12px;
	text-decoration: none !important;
}

.av1-filter-list a:hover {
	background: var(--av1-accent);
	color: #fff !important;
}

.av1-live-search {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 80;
	background: #212433;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.av1-live-search[hidden] {
	display: none !important;
}

.av1-live-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 92px;
	padding: 20px;
}

.av1-live-spinner {
	position: relative;
	width: 28px;
	height: 28px;
	display: block;
}

.av1-live-spinner i {
	position: absolute;
	left: 50%;
	top: 0;
	width: 2.5px;
	height: 8px;
	margin-left: -1.25px;
	border-radius: 2px;
	background: #3cecd6;
	transform-origin: 1.25px 14px;
	animation: av1-live-fade 1s linear infinite;
}

.av1-live-spinner i:nth-child(1) { transform: rotate(0deg); animation-delay: 0s; }
.av1-live-spinner i:nth-child(2) { transform: rotate(30deg); animation-delay: -0.916s; }
.av1-live-spinner i:nth-child(3) { transform: rotate(60deg); animation-delay: -0.833s; }
.av1-live-spinner i:nth-child(4) { transform: rotate(90deg); animation-delay: -0.75s; }
.av1-live-spinner i:nth-child(5) { transform: rotate(120deg); animation-delay: -0.666s; }
.av1-live-spinner i:nth-child(6) { transform: rotate(150deg); animation-delay: -0.583s; }
.av1-live-spinner i:nth-child(7) { transform: rotate(180deg); animation-delay: -0.5s; }
.av1-live-spinner i:nth-child(8) { transform: rotate(210deg); animation-delay: -0.416s; }
.av1-live-spinner i:nth-child(9) { transform: rotate(240deg); animation-delay: -0.333s; }
.av1-live-spinner i:nth-child(10) { transform: rotate(270deg); animation-delay: -0.25s; }
.av1-live-spinner i:nth-child(11) { transform: rotate(300deg); animation-delay: -0.166s; }
.av1-live-spinner i:nth-child(12) { transform: rotate(330deg); animation-delay: -0.083s; }

@keyframes av1-live-fade {
	0% { opacity: 1; }
	100% { opacity: 0.15; }
}

.av1-live-list {
	display: flex;
	flex-direction: column;
	padding: 6px 0;
}

.av1-live-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	text-decoration: none !important;
	color: inherit;
}

.av1-live-item:hover {
	background: #2a2f40;
}

.av1-live-poster {
	width: 40px;
	height: 56px;
	object-fit: cover;
	border-radius: 6px;
	flex: 0 0 40px;
	background: #191922;
}

.av1-live-meta {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.av1-live-title {
	font-family: Satoshi, sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.av1-live-type {
	font-family: Satoshi, sans-serif;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.2;
	color: rgb(167, 172, 209);
}

.av1-live-more-wrap {
	padding: 6px 10px 10px;
}

.av1-live-more {
	display: block;
	padding: 10px 14px;
	border-radius: 10px;
	background: #2a2f40;
	color: rgb(167, 172, 209) !important;
	font-family: Satoshi, sans-serif;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	text-decoration: none !important;
}

.av1-live-more:hover {
	background: #343a52;
	color: #fff !important;
}

.av1-live-empty {
	padding: 8px;
}

.av1-live-empty-box {
	padding: 16px 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	text-align: center;
	color: rgb(167, 172, 209);
	font-family: Satoshi, sans-serif;
	font-size: 13px;
	font-weight: 500;
}

html.av1-light .av1-live-search {
	background: #ffffff;
	box-shadow: 0 16px 40px rgba(15, 20, 30, 0.12);
}

html.av1-light .av1-live-item:hover {
	background: #eef1f6;
}

html.av1-light .av1-live-title {
	color: #12151c;
}

html.av1-light .av1-live-type {
	color: #6b7190;
}

html.av1-light .av1-live-empty-box {
	border-color: rgba(15, 20, 30, 0.08);
	color: #6b7190;
}

html.av1-light .av1-live-more {
	background: #e8edf2;
	color: #6b7190 !important;
}

html.av1-light .av1-live-more:hover {
	background: #e0e5ee;
}

.av1-nav {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	margin-left: auto;
}

.av1-nav-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgb(255, 255, 255) !important;
	text-decoration: none !important;
	font-family: Satoshi, sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 14px;
	line-height: 18px;
	white-space: nowrap;
	height: 36px;
	padding: 0 10px;
	border-radius: 10px;
	box-sizing: border-box;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.av1-nav-link span {
	font-family: Satoshi, sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 14px;
	line-height: 18px;
	color: inherit;
}

.av1-nav-link i,
.av1-nav-link .av1-icon {
	color: rgb(255, 255, 255);
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
}

.av1-nav-link .av1-icon-img {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	transition: filter 0.2s ease, opacity 0.2s ease;
}

.av1-nav-link:not(.av1-nav-discord) .av1-icon-img {
	filter: brightness(0) invert(1) !important;
}

.av1-nav-link.av1-nav-discord .av1-icon,
.av1-nav-link.av1-nav-discord .av1-icon-img {
	width: 27px !important;
	height: 27px !important;
	flex: 0 0 27px !important;
	max-width: none !important;
	filter: none !important;
}

.av1-nav-link:hover {
	color: #ffffff !important;
	background: #2a2f40;
}

.av1-nav-link:hover i,
.av1-nav-link:hover .av1-icon {
	color: #ffffff !important;
}

.av1-nav-link:hover .av1-icon-img {
	filter: brightness(0) invert(1) !important;
}

.av1-nav-link.av1-nav-discord:hover .av1-icon-img {
	filter: brightness(0) invert(1) !important;
	opacity: 1;
}

.av1-nav-discord,
.av1-nav-discord span,
.av1-nav-discord i,
.av1-nav-discord .av1-icon {
	color: var(--av1-discord) !important;
	font-size: 14px;
	line-height: 18px;
}

.av1-nav-discord:hover,
.av1-nav-discord:hover span,
.av1-nav-discord:hover i,
.av1-nav-discord:hover .av1-icon {
	color: #ffffff !important;
}

.av1-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: 4px;
}

.av1-icon-btn {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #e8ebf2 !important;
	background: #22222e;
	text-decoration: none !important;
	overflow: hidden;
	cursor: pointer;
	padding: 0;
	flex: 0 0 38px;
}

.av1-icon-btn:hover {
	background: #2a2a38;
	border-color: rgba(255, 255, 255, 0.14);
	color: #fff !important;
}

.av1-icon-btn .av1-icon {
	width: 18px;
	height: 18px;
}

.av1-user .av1-icon {
	width: 20px;
	height: 20px;
}

.av1-icon-btn .av1-icon-moon {
	display: none;
}

html.av1-light .av1-icon-btn .av1-icon-sun {
	display: none;
}

html.av1-light .av1-icon-btn .av1-icon-moon {
	display: block;
}

.av1-user img {
	width: 38px;
	height: 38px;
	object-fit: cover;
	display: block;
}

.av1-menu-toggle {
	display: none;
	width: 38px;
	height: 38px;
	border: 0;
	background: transparent;
	position: relative;
	cursor: pointer;
}

.av1-menu-toggle span,
.av1-menu-toggle span::before,
.av1-menu-toggle span::after {
	content: "";
	display: block;
	width: 18px;
	height: 2px;
	background: #fff;
	position: absolute;
	left: 10px;
	border-radius: 2px;
}

.av1-menu-toggle span {
	top: 18px;
}

.av1-menu-toggle span::before {
	top: -6px;
}

.av1-menu-toggle span::after {
	top: 6px;
}

.av1-mobile-menu {
	display: none;
	background: #1e1e28;
	border-bottom: 1px solid var(--av1-line);
	padding: 8px 16px 16px;
}

.av1-mobile-menu.is-open {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.av1-mobile-menu a {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #fff !important;
	text-decoration: none !important;
	padding: 10px 8px;
	border-radius: 8px;
}

.av1-mobile-menu a:hover {
	background: rgba(255, 255, 255, 0.04);
}

.av1-mobile-menu i,
.av1-mobile-menu .av1-icon {
	color: var(--av1-discord);
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
}

/* Light theme (header toggle) */
html.av1-light {
	--av1-bg: #f6f7f9;
	--av1-bg-2: #ffffff;
	--av1-header: rgba(255, 255, 255, 0.96);
	--av1-card: #e8edf2;
	--av1-text: #242829;
	--av1-muted: #7b7fa0;
	--av1-line: rgba(15, 20, 30, 0.08);
}

html.av1-light body.av1-theme,
html.av1-light body.av1-theme #dt_contenedor {
	background: #f6f7f9 !important;
	color: #242829;
}

html.av1-light #header.av1-header {
	background: #ffffff !important;
	border-bottom-color: rgba(0, 0, 0, 0.06);
}

html.av1-light .av1-search form {
	background: #eef1f6 !important;
	border-color: transparent !important;
}

html.av1-light .av1-search-icon {
	color: #9aa3b5 !important;
}

html.av1-light .av1-search input[type="text"] {
	color: #12151c !important;
}

html.av1-light .av1-search input[type="text"]::placeholder {
	color: #9aa3b5 !important;
}

html.av1-light .av1-filter-btn {
	background: #e8edf2 !important;
	color: #5b6478 !important;
}

html.av1-light .av1-filter-btn:hover,
html.av1-light .av1-filter-btn.is-open {
	background: #dde3eb !important;
	color: #1c2230 !important;
}

html.av1-light .av1-nav-link {
	color: #1a1a1a !important;
}

html.av1-light .av1-nav-link:hover {
	color: #111111 !important;
	background: #e8edf2;
}

html.av1-light .av1-nav-link i,
html.av1-light .av1-nav-link .av1-icon {
	color: #1a1a1a !important;
}

html.av1-light .av1-nav-link .av1-icon-img,
html.av1-light .av1-nav-link:not(.av1-nav-discord) .av1-icon-img,
html.av1-light .av1-mobile-menu .av1-icon-img,
html.av1-light .av1-user .av1-icon-user {
	filter: brightness(0) saturate(100%) !important;
}

html.av1-light .av1-nav-link:hover .av1-icon-img,
html.av1-light .av1-mobile-menu a:hover .av1-icon-img {
	filter: brightness(0) saturate(100%) !important;
	opacity: 1;
}

html.av1-light .av1-nav-discord,
html.av1-light .av1-nav-discord span,
html.av1-light .av1-nav-discord i,
html.av1-light .av1-nav-discord .av1-icon {
	color: #5865F2 !important;
}

html.av1-light .av1-nav-discord:hover,
html.av1-light .av1-nav-discord:hover span {
	color: #111111 !important;
}

html.av1-light .av1-nav-discord .av1-icon-img,
html.av1-light .av1-nav-discord:hover .av1-icon-img {
	filter: none !important;
	opacity: 1;
	width: 27px !important;
	height: 27px !important;
	flex: 0 0 27px !important;
}

html.av1-light .av1-nav-discord:hover .av1-icon-img {
	filter: brightness(0) saturate(100%) !important;
}

html.av1-light .av1-icon-btn {
	background: #eef1f6 !important;
	border-color: transparent !important;
	color: #1a1a1a !important;
}

html.av1-light .av1-icon-btn:hover {
	background: #e2e7ef !important;
	color: #000 !important;
}

html.av1-light .av1-menu-toggle span,
html.av1-light .av1-menu-toggle span::before,
html.av1-light .av1-menu-toggle span::after {
	background: #1a1a1a;
}

html.av1-light .av1-mobile-menu {
	background: #ffffff;
	border-bottom-color: rgba(0, 0, 0, 0.06);
}

html.av1-light .av1-mobile-menu a {
	color: #1a1a1a !important;
}

html.av1-light .av1-section-head h2 {
	color: #242829;
}

html.av1-light .av1-section-head span {
	color: #7b7fa0;
}

html.av1-light .av1-catalog-btn {
	background: #e0e7ef;
	color: #4a5662 !important;
}

html.av1-light .av1-catalog-btn .av1-icon-img {
	filter: brightness(0) saturate(100%) opacity(0.55);
}

html.av1-light .av1-catalog-btn:hover {
	background: #d4dde8;
	color: #242829 !important;
}

html.av1-light .av1-catalog-btn:hover .av1-icon-img {
	filter: brightness(0) saturate(100%) opacity(0.85);
}

html.av1-light .av1-ep-badge {
	background: #e8ecf2;
	color: #6a6a76;
}

html.av1-light .av1-ep-badge strong {
	color: #242829;
}

html.av1-light .av1-ep-title a,
html.av1-light .av1-ep-title a:hover {
	color: #6a6a76 !important;
}

html.av1-light .av1-anime-badge {
	background: #e8ecf2;
	color: #242829;
}

html.av1-light .av1-anime-title {
	color: #242829;
}

html.av1-light .av1-ep-comments,
html.av1-light .av1-ep-time {
	color: #d8dce8;
}

html.av1-light .av1-ep-comments img {
	filter: brightness(0) saturate(100%) invert(1) opacity(0.9);
}

/* Hero */

.av1-hero {
	position: relative;
	height: 460px;
	overflow: hidden;
	background: #191922;
}

.av1-hero-track,
.av1-hero-slide {
	position: absolute;
	inset: 0;
}

.av1-hero-slide {
	background-size: cover;
	background-position: center 20%;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.55s ease, visibility 0.55s ease;
}

.av1-hero-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.av1-hero-overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(25, 25, 34, 0.96) 0%, rgba(25, 25, 34, 0.72) 38%, rgba(25, 25, 34, 0.28) 68%, rgba(25, 25, 34, 0.45) 100%),
		linear-gradient(180deg, rgba(25, 25, 34, 0.15) 0%, rgba(25, 25, 34, 0.2) 70%, var(--av1-bg) 100%);
}

.av1-hero-content {
	position: relative;
	z-index: 2;
	max-width: var(--av1-max);
	margin: 0 auto;
	padding: 56px 28px 56px;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
}

.av1-hero-title {
	font-family: "Satoshi", sans-serif;
	font-style: normal;
	font-weight: 600;
	font-size: 36px;
	line-height: 40px;
	letter-spacing: normal;
	color: rgb(255, 255, 255);
	margin: 0 0 14px;
	text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.av1-hero-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
	font-family: Satoshi, sans-serif;
	font-size: 14px;
	font-weight: 400;
	font-style: normal;
	line-height: 20px;
	color: rgb(167, 172, 209);
}

.av1-dot {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: rgb(167, 172, 209);
	display: inline-block;
	opacity: 0.9;
}

.av1-hero-rating {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
}

.av1-hero-rating i {
	color: #f5c451;
	font-size: 12px;
}

.av1-hero-genres {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.av1-hero-genres a {
	display: inline-flex;
	align-items: center;
	padding: 6px 16px;
	border-radius: 999px;
	background: rgba(47, 52, 74, 0.85);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: rgb(255, 255, 255) !important;
	font-family: "Satoshi", sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 14px;
	line-height: 18px;
	text-decoration: none !important;
}

.av1-hero-genres a:hover {
	background: #3a3f5c;
	border-color: transparent;
	color: #fff !important;
}

.av1-hero-excerpt {
	max-width: 560px;
	color: rgb(255, 255, 255);
	font-family: "Satoshi", sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	margin: 0 0 22px;
}

.av1-hero-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	color: rgb(0, 0, 0) !important;
	text-decoration: none !important;
	font-family: "Satoshi", sans-serif;
	font-style: normal;
	font-weight: 700;
	font-size: 16px;
	line-height: 20px;
	padding: 12px 18px;
	min-height: 44px;
	box-sizing: border-box;
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.av1-hero-btn .av1-hero-play {
	width: 24px;
	height: 24px;
	display: block;
	flex: 0 0 24px;
}

.av1-hero-btn:hover {
	transform: translateY(-1px);
	background: #f3f5f8;
	color: rgb(0, 0, 0) !important;
}

.av1-hero-nav {
	position: absolute;
	left: 50%;
	right: auto;
	bottom: 56px;
	top: auto;
	transform: translateX(-50%);
	z-index: 3;
	width: 100%;
	max-width: var(--av1-max);
	padding: 0 28px;
	box-sizing: border-box;
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	pointer-events: none;
}

.av1-hero-prev,
.av1-hero-next {
	pointer-events: auto;
	width: 44px;
	height: 44px;
	border-radius: 6px;
	border: 0;
	background: #2f344a;
	color: #fff;
	font-family: Satoshi, sans-serif;
	font-size: 24px;
	font-weight: 500;
	line-height: 24px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.av1-hero-prev img,
.av1-hero-next img {
	width: 24px;
	height: 24px;
	display: block;
	filter: brightness(0) invert(1);
}

.av1-hero-prev:hover,
.av1-hero-next:hover {
	background: #3a3f5c;
}

/* Sections */

.av1-wrap {
	max-width: var(--av1-max);
	margin: 0 auto;
	padding: 8px 24px 24px;
}

.av1-section {
	margin-top: 36px;
}

.av1-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.av1-section-head h2 {
	font-family: Satoshi, sans-serif;
	font-style: normal;
	font-size: 24px;
	font-weight: 700;
	line-height: 32px;
	color: rgb(255, 255, 255);
	margin: 0;
	letter-spacing: normal;
}

.av1-section-head span {
	display: block;
	margin-top: 4px;
	font-family: Satoshi, sans-serif;
	font-style: normal;
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: normal;
	text-transform: uppercase;
	color: rgb(167, 172, 209);
}

.av1-catalog-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #2f344a;
	color: rgb(167, 172, 209) !important;
	text-decoration: none !important;
	font-family: Satoshi, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 18px;
	padding: 10px 14px;
	border-radius: 8px;
	border: 0;
	white-space: nowrap;
}

.av1-catalog-btn .av1-icon-img {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	display: block;
	filter: brightness(0) saturate(100%) invert(72%) sepia(12%) saturate(547%) hue-rotate(192deg) brightness(93%) contrast(88%);
}

.av1-catalog-btn:hover {
	background: #3a3f5c;
	color: #fff !important;
}

.av1-catalog-btn:hover .av1-icon-img {
	filter: brightness(0) invert(1);
}

/* Episodes grid — 4 columns */

.av1-ep-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	column-gap: var(--av1-gap);
	row-gap: 28px;
}

.av1-ep-card {
	min-width: 0;
}

.av1-ep-thumb {
	position: relative;
	display: block;
	border-radius: var(--av1-radius);
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #212433;
}

.av1-ep-poster {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: opacity 0.25s ease;
}

.av1-ep-thumb:hover .av1-ep-poster,
.av1-ep-card:hover .av1-ep-poster {
	opacity: 0.45;
}

.av1-ep-play {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 4;
	width: 48px;
	height: 48px;
	margin: 0;
	display: grid;
	place-content: center;
	border-radius: 50%;
	background: #3cecd6;
	color: #111;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
	outline: 4px solid rgba(60, 236, 214, 0.35);
	transform: translate(-50%, -50%) scale(0);
	opacity: 0;
	pointer-events: none;
	transition: transform 0.22s ease, opacity 0.22s ease;
}

.av1-ep-play svg {
	display: block;
	width: 22px;
	height: 22px;
	margin-left: 2px;
}

.av1-ep-thumb:hover .av1-ep-play,
.av1-ep-card:hover .av1-ep-play {
	transform: translate(-50%, -50%) scale(1);
	opacity: 1;
}

.av1-ep-comments {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 5px;
	padding: 8px 10px 40px 24px;
	font-family: Satoshi, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	color: rgb(167, 172, 209);
	background: linear-gradient(220deg, rgb(33, 36, 51) 0%, transparent 45%);
	border-radius: 0 8px 0 0;
	pointer-events: none;
}

.av1-ep-comments img {
	width: 14px;
	height: 14px;
	display: block;
	flex: 0 0 14px;
	filter: brightness(0) saturate(100%) invert(72%) sepia(12%) saturate(547%) hue-rotate(192deg) brightness(93%) contrast(88%);
}

.av1-ep-time {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	padding: 0 10px 10px;
	font-family: Satoshi, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	color: rgb(167, 172, 209);
	background: linear-gradient(to top left, rgb(33, 36, 51) 0%, transparent 42%);
	border-radius: inherit;
	pointer-events: none;
	box-sizing: border-box;
}

.av1-ep-corner {
	--av1-ep-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M0 12h12C5.373 12 0 6.627 0 0v12z'/%3E%3C/svg%3E");
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px 0 0;
	background: var(--av1-bg);
	color: var(--av1-bg);
	border-top-right-radius: 12px;
	pointer-events: none;
}

.av1-ep-corner::before,
.av1-ep-corner::after {
	content: "";
	position: absolute;
	width: 8px;
	height: 8px;
	background-color: currentColor;
	-webkit-mask: var(--av1-ep-mask) no-repeat;
	mask: var(--av1-ep-mask) no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
}

.av1-ep-corner::before {
	left: 0;
	bottom: 100%;
}

.av1-ep-corner::after {
	left: 100%;
	bottom: 0;
}

.av1-ep-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #30344a;
	color: rgb(167, 172, 209);
	font-family: Satoshi, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	padding: 4px 8px;
	border-radius: 4px;
}

.av1-ep-badge strong {
	color: #fff;
	font-weight: 700;
}

.av1-ep-title {
	margin: 8px 0 0;
	font-family: Satoshi, sans-serif;
	font-style: normal;
	font-size: 11px;
	font-weight: 700;
	line-height: 15px;
	text-transform: uppercase;
}

.av1-ep-title a {
	color: rgb(167, 172, 209) !important;
	text-decoration: none !important;
}

.av1-ep-title a:hover {
	color: rgb(167, 172, 209) !important;
}

/* Animes grid — 5 columns */

.av1-anime-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	column-gap: var(--av1-gap);
	row-gap: 28px;
}

.av1-anime-card {
	position: relative;
	min-width: 0;
	color: var(--av1-bg);
}

.av1-anime-media {
	position: relative;
	display: block;
	border-radius: var(--av1-radius);
	overflow: hidden;
	aspect-ratio: 2 / 3;
	background: var(--av1-card);
}

.av1-anime-poster {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.av1-anime-corner {
	--av1-anime-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M0 12h12C5.373 12 0 6.627 0 0v12z'/%3E%3C/svg%3E");
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px 0 0;
	background: var(--av1-bg);
	color: var(--av1-bg);
	border-top-right-radius: 12px;
	pointer-events: none;
}

.av1-anime-corner::before,
.av1-anime-corner::after {
	content: "";
	position: absolute;
	width: 8px;
	height: 8px;
	background-color: currentColor;
	-webkit-mask: var(--av1-anime-mask) no-repeat;
	mask: var(--av1-anime-mask) no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
}

.av1-anime-corner::before {
	left: 0;
	bottom: 100%;
}

.av1-anime-corner::after {
	left: 100%;
	bottom: 0;
}

.av1-anime-badge {
	display: inline-flex;
	align-items: center;
	background: #30344a;
	color: rgb(167, 172, 209);
	font-family: Satoshi, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	padding: 4px 8px;
	border-radius: 4px;
}

.av1-anime-title {
	margin: 8px 0 0;
	padding: 0 2px;
	font-family: Satoshi, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	color: #fff;
	max-height: calc(1.35em * 2);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-word;
}

.av1-anime-hit {
	position: absolute;
	inset: 0;
	z-index: 6;
	border-radius: 8px;
}

.av1-anime-hit .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.av1-anime-hover {
	display: none;
	position: absolute;
	inset: 0;
	z-index: 5;
	flex-direction: column;
	border-radius: 8px;
	background: #212433;
	opacity: 0;
	pointer-events: none;
	overflow: hidden;
	transition: opacity 0.22s ease;
}

.av1-anime-hover-bg {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.05;
	filter: grayscale(1);
	border-radius: 8px;
}

.av1-anime-hover-body {
	position: relative;
	z-index: 2;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px;
	min-height: 0;
	font-family: Satoshi, sans-serif;
	font-size: 14px;
	line-height: 1.4;
	color: rgb(167, 172, 209);
}

.av1-anime-hover-type {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgb(167, 172, 209);
}

.av1-anime-hover-title {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
	max-height: calc(1.3em * 2);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-word;
}

.av1-anime-hover-excerpt {
	flex: 1 1 auto;
	min-height: 0;
	margin: 4px 0;
	overflow: auto;
}

.av1-anime-hover-excerpt p {
	margin: 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	color: rgb(167, 172, 209);
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.av1-anime-hover-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	margin-top: auto;
	padding: 8px 12px;
	border-radius: 6px;
	background: #fff;
	color: #111;
	font-family: Satoshi, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	box-sizing: border-box;
}

.av1-anime-hover-btn img {
	display: block;
	width: 10px;
	height: 10px;
	flex: 0 0 10px;
}

@media (min-width: 1024px) {
	.av1-anime-hover {
		display: flex;
	}

	.av1-anime-card:hover .av1-anime-hover {
		opacity: 1;
	}
}

/* Footer */

.av1-footer {
	background: var(--av1-bg);
	border-top: 0;
	padding: 20px 24px 28px;
	text-align: right;
}

.av1-footer-inner {
	max-width: var(--av1-max);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 16px;
}

.av1-footer-brand {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 12px;
}

.av1-footer-logo {
	justify-content: flex-start;
	margin-bottom: 0;
}

.av1-footer-logo img {
	height: 40px;
	max-width: 145px;
}

.av1-footer-credit {
	color: var(--av1-muted);
	font-family: Satoshi, sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.av1-footer-credit i {
	color: #c084fc;
	margin-right: 0;
	font-size: 16px;
}

.av1-footer-links {
	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 10px;
}

.av1-footer-links a {
	color: #9aa3b5 !important;
	font-family: Satoshi, sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none !important;
	padding: 10px 14px;
	border: 1px solid rgba(154, 163, 181, 0.35);
	border-radius: 999px;
	transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.av1-footer-links a:hover {
	background: #3a3f5c;
	border-color: transparent;
	color: #fff !important;
}

html.av1-light .av1-footer {
	background: #f6f7f9;
}

html.av1-light .av1-footer-credit {
	color: #6b7385;
}

html.av1-light .av1-footer-links a {
	color: #6b7385 !important;
	border-color: rgba(107, 115, 133, 0.35);
}

html.av1-light .av1-footer-links a:hover {
	background: #3a3f5c;
	border-color: transparent;
	color: #fff !important;
}

html.av1-light .av1-footer-logo .av1-logo-dark {
	display: none;
}

html.av1-light .av1-footer-logo .av1-logo-light {
	display: block;
}

/* Login modal stays usable */

body.av1-theme #login_form,
body.av1-theme .login_box {
	z-index: 400;
}

/* Responsive */

@media (max-width: 1180px) {
	.av1-nav-link span {
		display: none;
	}

	.av1-nav {
		gap: 14px;
	}

	.av1-hero-title {
		font-size: 32px;
		line-height: 36px;
	}

	.av1-ep-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.av1-anime-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 860px) {
	.av1-header-inner {
		gap: 12px;
		padding: 0 16px;
	}

	.av1-nav-link {
		display: none;
	}

	.av1-menu-toggle {
		display: block;
	}

	.av1-filter-btn span {
		display: none;
	}

	.av1-filter-btn {
		width: 32px;
		padding: 0;
	}

	.av1-hero {
		height: 420px;
	}

	.av1-hero-content {
		padding: 40px 16px 48px;
	}

	.av1-hero-title {
		font-size: 30px;
		line-height: 34px;
	}

	.av1-hero-nav {
		padding: 0 16px;
		bottom: 48px;
	}

	.av1-wrap {
		padding: 8px 16px 20px;
	}

	.av1-ep-grid,
	.av1-anime-grid {
		grid-template-columns: repeat(2, 1fr);
		column-gap: 14px;
		row-gap: 22px;
	}

	.av1-section-head {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 520px) {
	.av1-logo-text {
		font-size: 22px;
	}

	.av1-logo img {
		height: 32px;
	}

	.av1-hero {
		height: 380px;
	}

	.av1-hero-title {
		font-size: 26px;
		line-height: 30px;
	}

	.av1-hero-excerpt {
		display: none;
	}

	.av1-anime-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ===== Avatar + user menu ===== */

.av1-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	overflow: hidden;
	background: #6b7280;
	color: #fff;
	flex: 0 0 auto;
}

.av1-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 50%;
}

.av1-avatar--default svg {
	width: 58%;
	height: 58%;
	display: block;
}

.av1-user-menu-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.av1-user-trigger {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: transparent;
	border: 0;
	padding: 0;
	cursor: pointer;
	color: #c5cada;
	height: 38px;
}

.av1-user-trigger:hover,
.av1-user-trigger[aria-expanded="true"] {
	color: #fff;
}

.av1-user-caret {
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
	transition: transform 0.2s ease;
}

.av1-user-trigger[aria-expanded="true"] .av1-user-caret {
	transform: rotate(180deg);
}

.av1-user-dropdown {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	width: 240px;
	background: #1c1e2a;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
	padding: 8px;
	z-index: 80;
	transform-origin: top right;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: scale(0.92) translateY(-8px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.av1-user-dropdown.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: scale(1) translateY(0);
}

.av1-user-dropdown-head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 10px 12px;
	text-decoration: none !important;
	border-radius: 8px;
	color: #fff !important;
}

.av1-user-dropdown-head:hover {
	background: rgba(255, 255, 255, 0.04);
}

.av1-user-dropdown-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.av1-user-dropdown-meta strong {
	font-family: Satoshi, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 18px;
	color: #fff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.av1-user-dropdown-meta em {
	font-style: normal;
	font-family: Satoshi, sans-serif;
	font-size: 12px;
	font-weight: 500;
	line-height: 16px;
	color: rgb(167, 172, 209);
}

.av1-user-dropdown-sep {
	height: 1px;
	background: rgba(255, 255, 255, 0.08);
	margin: 4px 6px;
}

.av1-user-dropdown-item {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 10px;
	border: 0;
	background: transparent;
	border-radius: 8px;
	color: #e8ebf2 !important;
	text-decoration: none !important;
	font-family: Satoshi, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 18px;
	cursor: pointer;
	text-align: left;
	box-sizing: border-box;
}

.av1-user-dropdown-item:hover {
	background: rgba(255, 255, 255, 0.05);
	color: #fff !important;
}

.av1-user-dropdown-item svg {
	flex: 0 0 18px;
	opacity: 0.9;
}

/* ===== Mi cuenta ===== */

.av1-account,
.av1-lists {
	padding: 48px 0 72px;
	min-height: 60vh;
}

.av1-account-wrap,
.av1-lists-wrap {
	max-width: var(--av1-max);
	margin: 0 auto;
	padding: 0 28px;
}

.av1-account-title,
.av1-lists-title {
	margin: 0 0 36px;
	font-family: Satoshi, sans-serif;
	font-style: normal;
	font-size: 24px;
	font-weight: 700;
	line-height: 32px;
	color: rgb(255, 255, 255);
}

.av1-account-tabs {
	display: flex;
	gap: 28px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	margin-bottom: 36px;
	padding-bottom: 0;
}

.av1-account-tab {
	position: relative;
	padding: 0 0 18px;
	font-family: Satoshi, sans-serif;
	font-style: normal;
	font-size: 16px;
	font-weight: 700;
	line-height: 20px;
	color: rgb(167, 172, 209) !important;
	text-decoration: none !important;
}

.av1-account-tab.is-active {
	color: rgb(255, 255, 255) !important;
}

.av1-account-tab.is-active::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: #3cecd6;
}

.av1-account-panel {
	max-width: 560px;
	margin: 0 auto;
	width: 100%;
}

.av1-account-heading {
	margin: 0 0 22px;
	font-family: Satoshi, sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: #fff;
	text-align: center;
}

.av1-account-avatar-row {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 28px;
}

.av1-account-avatar-wrap {
	position: relative;
	width: 96px;
	height: 96px;
	flex: 0 0 96px;
}

.av1-account-avatar-wrap .av1-avatar {
	width: 96px !important;
	height: 96px !important;
}

.av1-account-avatar-edit {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #3cecd6;
	color: #111;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border: 2px solid #191922;
}

.av1-account-avatar-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.av1-account-avatar-text strong {
	font-family: Satoshi, sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
}

.av1-account-avatar-text span {
	font-size: 13px;
	color: rgb(167, 172, 209);
}

.av1-account-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.av1-account-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.av1-account-field span {
	font-family: Satoshi, sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: rgb(167, 172, 209);
}

.av1-account-field input {
	height: 46px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: #242533 !important;
	color: #fff !important;
	padding: 0 14px;
	font-family: Satoshi, sans-serif;
	font-size: 14px;
	box-shadow: none !important;
}

.av1-account-field input:focus {
	outline: none;
	border-color: rgba(60, 236, 214, 0.55);
}

.av1-account-note {
	margin: -4px 0 0;
	font-size: 12px;
	color: rgb(167, 172, 209);
}

.av1-account-msg {
	min-height: 18px;
	font-size: 13px;
}

.av1-account-msg .is-success {
	color: #3cecd6;
}

.av1-account-msg .is-error {
	color: #ff7b7b;
}

.av1-account-submit {
	margin-top: 8px;
	height: 48px;
	border: 0;
	border-radius: 10px;
	background: #3cecd6;
	color: #111;
	font-family: Satoshi, sans-serif;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: filter 0.15s ease;
}

.av1-account-submit:hover {
	filter: brightness(1.05);
}

.av1-account-submit:disabled {
	opacity: 0.7;
	cursor: wait;
}

/* ===== Mis Listas ===== */

.av1-lists-wrap {
	max-width: var(--av1-max);
}

.av1-lists-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 22px;
}

.av1-lists-filter {
	display: inline-flex;
	align-items: center;
	height: 36px;
	padding: 0 16px;
	border-radius: 6px;
	background: #252533;
	color: rgb(167, 172, 209) !important;
	text-decoration: none !important;
	font-family: Satoshi, sans-serif;
	font-size: 13px;
	font-weight: 600;
	border: 1px solid transparent;
}

.av1-lists-filter.is-active {
	background: #3cecd6;
	color: #111 !important;
}

.av1-lists-filter:not(.is-active):hover {
	background: #2c2d3c;
	color: #fff !important;
}

.av1-mylist {
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 12px;
	background: #191c28;
	overflow: hidden;
}

.av1-mylist-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 70px 90px 92px;
	align-items: center;
	gap: 12px;
	padding: 10px 16px 10px 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.av1-mylist-row:last-child {
	border-bottom: 0;
}

.av1-mylist-main {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.av1-mylist-poster {
	width: 44px;
	height: 58px;
	flex: 0 0 44px;
	border-radius: 8px;
	object-fit: cover;
	display: block;
}

.av1-mylist-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.av1-mylist-title {
	align-self: flex-start;
	max-width: 100%;
	font-family: Satoshi, sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #fff !important;
	text-decoration: none !important;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: color 0.15s ease;
}

.av1-mylist-title:hover {
	color: #3cecd6 !important;
}

.av1-mylist-type {
	font-family: Satoshi, sans-serif;
	font-size: 12px;
	font-weight: 500;
	color: rgb(167, 172, 209);
}

.av1-mylist-score {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-family: Satoshi, sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
}

.av1-mylist-star {
	width: 15px;
	height: 15px;
	color: #ffc83d;
}

.av1-mylist-progress {
	text-align: center;
	font-family: Satoshi, sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: rgb(167, 172, 209);
}

.av1-mylist-actions {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
}

.av1-mylist-btn {
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: rgb(167, 172, 209);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.av1-mylist-btn svg {
	width: 17px;
	height: 17px;
}

.av1-mylist-btn:hover {
	background: #2a2f40;
	color: #fff;
}

.av1-mylist-btn.is-on {
	color: #ff6b6b;
}

.av1-mylist-row.is-removing {
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

html.av1-light .av1-mylist {
	background: #f4f6fa;
	border-color: rgba(0, 0, 0, 0.08);
}

html.av1-light .av1-mylist-row {
	border-bottom-color: rgba(0, 0, 0, 0.08);
}

html.av1-light .av1-mylist-title,
html.av1-light .av1-mylist-score {
	color: #12151c !important;
}

html.av1-light .av1-mylist-title:hover {
	color: #16b8a3 !important;
}

html.av1-light .av1-mylist-btn:hover {
	background: #dbe2ea;
	color: #12151c;
}

@media (max-width: 720px) {
	.av1-mylist-row {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			'main actions'
			'meta meta';
	}

	.av1-mylist-main {
		grid-area: main;
	}

	.av1-mylist-actions {
		grid-area: actions;
	}

	.av1-mylist-score {
		grid-area: meta;
		justify-content: flex-start;
	}

	.av1-mylist-progress {
		display: none;
	}
}

.av1-lists-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 280px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.02);
	color: rgb(167, 172, 209);
	text-align: center;
	padding: 40px 20px;
}

.av1-lists-empty img {
	width: 48px;
	height: 48px;
	display: block;
	opacity: 0.95;
}

.av1-lists-empty p {
	margin: 0;
	font-family: Satoshi, sans-serif;
	font-size: 15px;
	font-weight: 500;
	color: #fff;
}

body.av1-page-account #contenedor,
body.av1-page-lists #contenedor,
body.av1-page-catalog #contenedor,
body.av1-page-schedule #contenedor,
body.av1-page-series #contenedor {
	max-width: 100% !important;
	width: 100% !important;
	margin: 0 auto !important;
	padding: 0 !important;
	float: none !important;
}

/* Catalog */

.av1-catalog {
	padding: 28px 0 24px;
}

.av1-catalog-wrap {
	max-width: var(--av1-max);
	margin: 0 auto;
	padding: 0 28px;
}

.av1-catalog-title {
	margin: 0 0 28px;
	font-family: Satoshi, sans-serif;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
}

.av1-catalog-letters {
	display: flex;
	flex-wrap: nowrap;
	gap: 6px;
	margin-bottom: 28px;
	overflow-x: auto;
	scrollbar-width: none;
}

.av1-catalog-letters::-webkit-scrollbar {
	display: none;
}

.av1-catalog-letter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 0;
	min-width: 32px;
	height: 36px;
	padding: 0;
	border-radius: 6px;
	background: #212433;
	color: rgb(167, 172, 209) !important;
	font-family: Satoshi, sans-serif;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
	box-sizing: border-box;
}

.av1-catalog-letter:hover {
	background: #3a3f5c;
	color: #fff !important;
}

.av1-catalog-letter.is-active {
	background: #3cecd6;
	color: #111 !important;
}

.av1-catalog-filters {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 10px;
	margin-bottom: 28px;
	position: relative;
	z-index: 40;
}

.av1-catalog-dd {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
}

.av1-catalog-dd.is-open {
	z-index: 50;
}

.av1-catalog-dd-btn {
	display: flex;
	align-items: center;
	width: 100%;
	height: 44px;
	padding: 0 12px 0 14px;
	border: 0;
	border-radius: 8px;
	background: #212433;
	color: #fff;
	font-family: Satoshi, sans-serif;
	font-size: 14px;
	font-weight: 500;
	text-align: left;
	cursor: pointer;
	box-sizing: border-box;
}

.av1-catalog-dd.is-open .av1-catalog-dd-btn {
	border-radius: 8px 8px 0 0;
}

.av1-catalog-dd-prefix {
	flex: 0 0 auto;
	color: rgb(167, 172, 209);
	margin-right: 6px;
}

.av1-catalog-dd-value {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #fff;
	font-weight: 700;
}

.av1-catalog-dd-caret {
	flex: 0 0 auto;
	width: 12px;
	height: 8px;
	margin-left: 8px;
	color: rgb(154, 163, 181);
	transition: transform 0.18s ease;
}

.av1-catalog-dd.is-open .av1-catalog-dd-caret {
	transform: rotate(180deg);
}

.av1-catalog-dd-panel {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 60;
	margin: 0;
	padding: 14px 16px;
	border-radius: 0 0 8px 8px;
	background: #212433;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
	box-sizing: border-box;
	pointer-events: auto;
}

.av1-catalog-dd.is-wide .av1-catalog-dd-panel {
	left: 0;
	right: auto;
	width: max(720px, calc(400% + 30px));
	max-width: min(920px, calc(100vw - 56px));
	padding: 20px 22px;
	border-radius: 8px;
	margin-top: 6px;
}

.av1-catalog-dd.is-wide.is-open .av1-catalog-dd-btn {
	border-radius: 8px;
}

.av1-catalog-dd-panel[hidden] {
	display: none !important;
}

.av1-catalog-dd-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 260px;
	overflow: auto;
}

.av1-catalog-dd-list li + li {
	margin-top: 12px;
}

.av1-catalog-dd.is-wide .av1-catalog-dd-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 28px;
	row-gap: 12px;
	max-height: 340px;
}

.av1-catalog-dd.is-wide .av1-catalog-dd-list li + li {
	margin-top: 0;
}

.av1-catalog-dd-option {
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	color: rgb(167, 172, 209);
	font-family: Satoshi, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	user-select: none;
}

.av1-catalog-dd-option input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

.av1-catalog-dd-box {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	border: 1.5px solid rgba(167, 172, 209, 0.65);
	border-radius: 3px;
	background: transparent;
	box-sizing: border-box;
	position: relative;
}

.av1-catalog-dd-option input:checked + .av1-catalog-dd-box {
	border-color: #3cecd6;
	background: #3cecd6;
}

.av1-catalog-dd-option input:checked + .av1-catalog-dd-box::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 1px;
	width: 5px;
	height: 9px;
	border: solid #111;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.av1-catalog-dd-text {
	min-width: 0;
}

.av1-catalog-dd-option:hover .av1-catalog-dd-text {
	color: #fff;
}

.av1-catalog-submit {
	flex: 1 1 0;
	min-width: 0;
	height: 44px;
	padding: 0 14px;
	border: 0;
	border-radius: 8px;
	background: #3cecd6;
	color: #111;
	font-family: Satoshi, sans-serif;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.av1-catalog-submit:hover {
	background: #2fd8c4;
}

.av1-catalog-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 28px;
}

.av1-catalog-count {
	margin: 0;
	font-family: Satoshi, sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: rgb(167, 172, 209);
}

.av1-catalog-sort-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: rgb(167, 172, 209);
	font-family: Satoshi, sans-serif;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
}

.av1-catalog-sort select {
	appearance: none;
	-webkit-appearance: none;
	width: auto;
	min-width: 0;
	height: auto;
	padding: 0 18px 0 0;
	border: 0;
	border-radius: 0;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right center;
	color: #fff;
	font-family: Satoshi, sans-serif;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
}

.av1-catalog-sort select:focus {
	outline: none;
}

.av1-catalog-grid {
	margin-bottom: 28px;
	position: relative;
	z-index: 1;
}

.av1-catalog.is-filter-open .av1-catalog-grid,
.av1-catalog.is-filter-open .av1-catalog-grid .av1-anime-hit {
	pointer-events: none;
}

.av1-catalog-empty {
	padding: 64px 20px;
	text-align: center;
	color: rgb(167, 172, 209);
	font-family: Satoshi, sans-serif;
	font-size: 15px;
}

.av1-catalog-pager {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 8px;
	margin-top: 8px;
}

.av1-catalog-page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border-radius: 8px;
	background: #2f344a;
	color: #fff !important;
	font-family: Satoshi, sans-serif;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
	box-sizing: border-box;
}

.av1-catalog-page.is-ellipsis {
	background: transparent;
	color: rgb(167, 172, 209) !important;
	min-width: 24px;
	padding: 0;
}

.av1-catalog-page.is-active {
	background: #3cecd6;
	color: #111 !important;
}

.av1-catalog-page:hover:not(.is-ellipsis):not(.is-active) {
	background: #3a3f5c;
	color: #fff !important;
}

.av1-catalog-next {
	font-size: 18px;
	line-height: 1;
}

html.av1-light .av1-catalog-title {
	color: #242829;
}

html.av1-light .av1-catalog-letter {
	background: #e0e7ef;
	color: #4a5662 !important;
}

html.av1-light .av1-catalog-letter:hover {
	background: #3a3f5c;
	color: #fff !important;
}

html.av1-light .av1-catalog-letter.is-active {
	background: #3cecd6;
	color: #111 !important;
}

html.av1-light .av1-catalog-dd-btn,
html.av1-light .av1-catalog-dd-panel {
	background: #e0e7ef;
}

html.av1-light .av1-catalog-dd-prefix,
html.av1-light .av1-catalog-dd-option {
	color: #6b7385;
}

html.av1-light .av1-catalog-dd-value {
	color: #242829;
}

html.av1-light .av1-catalog-dd-caret {
	color: #6b7385;
}

html.av1-light .av1-catalog-dd-box {
	border-color: rgba(107, 115, 133, 0.65);
}

html.av1-light .av1-catalog-dd-option:hover .av1-catalog-dd-text {
	color: #12151c;
}

html.av1-light .av1-catalog-count,
html.av1-light .av1-catalog-sort-label {
	color: #6b7385;
}

html.av1-light .av1-catalog-sort select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23242829' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	color: #242829;
}

html.av1-light .av1-catalog-page {
	background: #e0e7ef;
	color: #242829 !important;
}

html.av1-light .av1-catalog-page.is-active {
	background: #3cecd6;
	color: #111 !important;
}

html.av1-light .av1-catalog-page:hover:not(.is-ellipsis):not(.is-active) {
	background: #3a3f5c;
	color: #fff !important;
}

html.av1-light .av1-catalog-empty {
	color: #6b7385;
}

@media (max-width: 640px) {
	.av1-account-avatar-row {
		align-items: flex-start;
	}

	.av1-user-dropdown {
		right: -8px;
		width: 220px;
	}

	.av1-catalog-wrap {
		padding: 0 16px;
	}

	.av1-catalog-title {
		font-size: 24px;
	}

	.av1-catalog-filters {
		flex-wrap: wrap;
	}

	.av1-catalog-dd,
	.av1-catalog-submit {
		flex: 1 1 calc(50% - 5px);
		min-width: calc(50% - 5px);
	}

	.av1-catalog-dd.is-wide .av1-catalog-dd-panel {
		left: 0;
		right: auto;
		width: calc(200% + 10px);
		max-width: none;
		transform: none;
	}

	.av1-catalog-dd.is-wide .av1-catalog-dd-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 16px;
	}

	.av1-catalog-meta {
		align-items: flex-start;
		flex-direction: column;
	}
}

/* Schedule / Horario */

.av1-schedule {
	padding: 28px 0 24px;
}

.av1-schedule-wrap {
	max-width: var(--av1-max);
	margin: 0 auto;
	padding: 0 28px;
}

.av1-schedule-title {
	margin: 0 0 32px;
	font-family: Satoshi, sans-serif;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
}

.av1-schedule-notice {
	margin: 0 0 32px;
	padding: 12px 16px;
	border: 1px solid #c9a227;
	border-radius: 8px;
	background: rgba(201, 162, 39, 0.08);
	color: rgb(220, 210, 160);
	font-family: Satoshi, sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
}

.av1-schedule-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.av1-schedule-days {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.av1-schedule-day {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0 16px;
	border-radius: 8px;
	background: #212433;
	color: rgb(167, 172, 209) !important;
	font-family: Satoshi, sans-serif;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
	box-sizing: border-box;
}

.av1-schedule-day:hover {
	background: #3a3f5c;
	color: #fff !important;
}

.av1-schedule-day.is-active {
	background: #3cecd6;
	color: #111 !important;
}

.av1-schedule-clock {
	margin: 0;
	color: rgb(167, 172, 209);
	font-family: Satoshi, sans-serif;
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
}

.av1-schedule-badge {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	max-width: calc(100% - 16px);
	padding: 5px 8px;
	border-radius: 999px;
	background: rgba(33, 36, 51, 0.88);
	color: #fff;
	font-family: Satoshi, sans-serif;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	pointer-events: none;
	backdrop-filter: blur(4px);
}

.av1-schedule-badge.is-aired {
	background: rgba(48, 52, 74, 0.92);
}

.av1-schedule-badge.is-scheduled {
	background: rgba(36, 48, 90, 0.92);
}

.av1-schedule-empty {
	padding: 48px 20px;
	text-align: center;
	color: rgb(167, 172, 209);
	font-family: Satoshi, sans-serif;
}

.av1-schedule-empty p {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
}

html.av1-light .av1-schedule-title {
	color: #1a1d2e;
}

html.av1-light .av1-schedule-notice {
	background: rgba(201, 162, 39, 0.12);
	color: #7a6510;
}

html.av1-light .av1-schedule-day {
	background: #e8eaf2;
	color: #4a5068 !important;
}

html.av1-light .av1-schedule-day:hover {
	background: #d5d8e6;
	color: #1a1d2e !important;
}

html.av1-light .av1-schedule-day.is-active {
	background: #3cecd6;
	color: #111 !important;
}

html.av1-light .av1-schedule-clock {
	color: #6b7190 !important;
}

html.av1-light .av1-schedule-empty p {
	color: #1a1d2e;
}

@media (max-width: 900px) {
	.av1-schedule-toolbar {
		align-items: flex-start;
		flex-direction: column;
	}

	.av1-schedule-days {
		width: 100%;
		overflow-x: auto;
		flex-wrap: nowrap;
		scrollbar-width: none;
	}

	.av1-schedule-days::-webkit-scrollbar {
		display: none;
	}

	.av1-schedule-day {
		flex: 0 0 auto;
	}
}

