/* =============================================================
   THEME META & ROOT (Vanilla)
   ============================================================= */
/*
Theme Name: Anime4up
Theme URL: https://ThemesX.com/
Version: 1.0
Author: ThemesXcom
Author URI: https://ThemesX.com/
Text Domain: ThemesXcom
This Theme Designed By ThemesXcom
*/

:root {
	/* Colors */
	--main-bg-color: #131722;
	--light-color: #8f8d8d;
	--red-color: #d41616;
	--red-color2: #aa0c0c;
	--yellow-color: #fbbd48;
	--bg-white: #fafafa;
	--blue-color: #029dbc;
	--text: #fff;

	/* Radii / Shadows / Motion */
	--radius: 8px;
	--shadow-sm: 0 1px 8px 3px rgba(0, 0, 0, .06);
	--elev-inset: inset 0 6px 8px -7px rgba(0, 0, 0, .29);
	--ease: cubic-bezier(.2, .6, .2, 1);
	--dur: .2s;

	/* Layout */
	--container: 1200px;
	--gutter: 15px;

	--back-color-1: #181d2b;

}

/* =============================================================
   FONTS
   ============================================================= */
@font-face {
	font-family: 'DroidKufi-Regular';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	/* 👈 مهم */
	src: url('<?php echo esc_url( UI_URL . "/Assets/fonts/DroidKufi-Regular.eot" ); ?>');
	src: url('<?php echo esc_url( UI_URL . "/Assets/fonts/DroidKufi-Regular.eot?#iefix" ); ?>') format('embedded-opentype'),
		url('<?php echo esc_url( UI_URL . "/Assets/fonts/DroidKufi-Regular.woff2" ); ?>') format('woff2'),
		url('<?php echo esc_url( UI_URL . "/Assets/fonts/DroidKufi-Regular.woff" ); ?>') format('woff'),
		url('<?php echo esc_url( UI_URL . "/Assets/fonts/DroidKufi-Regular.ttf" ); ?>') format('truetype'),
		url('<?php echo esc_url( UI_URL . "/Assets/fonts/DroidKufi-Regular.svg#DroidKufi-Regular" ); ?>') format('svg');
}

@font-face {
	font-family: 'NeoSansArabic-Bold';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	/* 👈 */
	src: url('<?php echo esc_url( UI_URL . "/Assets/fonts/NeoSansArabic-Bold.eot" ); ?>');
	src: url('<?php echo esc_url( UI_URL . "/Assets/fonts/NeoSansArabic-Bold.eot?#iefix" ); ?>') format('embedded-opentype'),
		url('<?php echo esc_url( UI_URL . "/Assets/fonts/NeoSansArabic-Bold.woff2" ); ?>') format('woff2'),
		url('<?php echo esc_url( UI_URL . "/Assets/fonts/NeoSansArabic-Bold.woff" ); ?>') format('woff'),
		url('<?php echo esc_url( UI_URL . "/Assets/fonts/NeoSansArabic-Bold.ttf" ); ?>') format('truetype'),
		url('<?php echo esc_url( UI_URL . "/Assets/fonts/NeoSansArabic-Bold.svg#NeoSansArabic-Bold" ); ?>') format('svg');
}

@font-face {
	font-family: 'NeoSansArabic';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	/* 👈 */
	src: url('<?php echo esc_url( UI_URL . "/Assets/fonts/NeoSansArabic.eot" ); ?>');
	src: url('<?php echo esc_url( UI_URL . "/Assets/fonts/NeoSansArabic.eot?#iefix" ); ?>') format('embedded-opentype'),
		url('<?php echo esc_url( UI_URL . "/Assets/fonts/NeoSansArabic.woff2" ); ?>') format('woff2'),
		url('<?php echo esc_url( UI_URL . "/Assets/fonts/NeoSansArabic.woff" ); ?>') format('woff'),
		url('<?php echo esc_url( UI_URL . "/Assets/fonts/NeoSansArabic.ttf" ); ?>') format('truetype'),
		url('<?php echo esc_url( UI_URL . "/Assets/fonts/NeoSansArabic.svg#NeoSansArabic" ); ?>') format('svg');
}


/* =============================================================
   RESET / BASE
   ============================================================= */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	font-family: DroidKufi-Regular, Arial, sans-serif;
	line-height: 1.428571429;
	color: #dddfe4;
	background: var(--main-bg-color);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

* {
	padding: 0;
	margin: 0;
}

[dir="rtl"] body {
	direction: rtl;
}

a {
	color: #009ec0;
	text-decoration: none;
	outline: 0;
	transition: color var(--dur) var(--ease);
	font-size: 14px;
	-webkit-transition: all .2s ease-in-out 0s;
	-moz-transition: all .2s ease-in-out 0s;
	-o-transition: all .2s ease-in-out 0s;
	-ms-transition: all .2s ease-in-out 0s;
	transition: all .2s ease-in-out 0s;
}

a:focus,
a:hover {
	outline: 0 !important;
	text-decoration: none;
	color: #006075;
}

input,
textarea,
button,
select {
	font: inherit;
	border: 0;
	outline: 0;
	background: none;
	color: inherit;
}

textarea:focus,
input:focus {
	outline: none;
}

em {
	font-style: normal;
}

ul,
ol,
li {
	list-style: none;
	padding: 0;
	margin: 0;
}

h1 {
	font-size: 2em;
	font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
	font-family: inherit;
	font-weight: 500;
	line-height: 1.1;
	color: inherit;
}

h3 {
	font-size: 24px;
}

:focus-visible {
	outline: 2px solid var(--blue-color);
	outline-offset: 2px;
	border-radius: 6px;
}

/* Scrollbar */
*::-webkit-scrollbar {
	width: 10px;
}

*::-webkit-scrollbar-track {
	border: 1px solid var(--main-bg-color);
	background: var(--main-bg-color);
}

*::-webkit-scrollbar-thumb {
	border-radius: 10px;
	box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
	background: var(--blue-color);
	border: 1px solid var(--main-bg-color);
}

.main-widget {
	overflow: hidden;
}

.anime-card-themex {
	overflow: hidden;
}

.anime-card-poster{
	overflow: hidden;
}

.anime-card-poster img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Helpers */
.clearfix::after {
	content: "";
	display: block;
	clear: both;
}

.imgInit {
	opacity: 0;
	transition: .35s all ease;
}

.imgInit.Loaded {
	opacity: 1;
}

.Slider--pind {

	overflow: hidden;
}

.item {
	overflow: hidden;
}

/* =============================================================
   CONTAINER / LAYOUT (Vanilla)
   ============================================================= */
.container {
	width: 100%;
	max-width: var(--container);
	margin-right: auto;
	margin-left: auto;
	padding-right: var(--gutter);
	padding-left: var(--gutter);
}

@media (max-width:1199.98px) {
	:root {
		--container: 970px;
	}
}

@media (max-width:991.98px) {
	:root {
		--container: 750px;
	}
}

@media (max-width:767.98px) {
	:root {
		--container: 100%;
	}
}


/* =============================================================
   HEADER / NAV (no Bootstrap)
   ============================================================= */
header {
	position: relative;
	z-index: 99;
	color: #0a0d14;
	background: #fff;
	box-shadow: var(--shadow-sm);
}

.header-navbar-container {
	position: relative;
}

.header-container {
	margin: 0 auto;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	padding: 0 !important;
}

.site-branding {
	padding-inline: 35px 25px;
	min-height: 1px;
}

.site-logo {
	vertical-align: middle;
}

.main-navigation {
	justify-self: start;
}

.main-menu {
	display: flex;
	gap: 6px;
}

.main-menu>li {
	position: relative;
	z-index: 100;
}

.main-menu>li>a {
	display: block;
	padding: 23px 6px;
	font-size: 14px;
	color: #1e1e1e;
	font-family: NeoSansArabic-Bold, Arial, sans-serif;
}


.main-menu li a:hover,
.main-menu li:hover>a {
	background-color: #f5f5f5;
	color: #1e1e1e;
}

.header-tools {
	width: 160px;
	display: flex;
	align-items: center;
	gap: 6px;
	justify-content: center;
}

.header-tools i {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #f0f0f0;
	color: #1e1e1e;
	font-size: 14px;
	cursor: pointer;
}

.NoSearchResults img {
	max-width: 200px;
}

/* =============================================================
   SEARCH HEAD (toggle with .open)
   ============================================================= */
.SearchHead {
	position: absolute;
	top: 100%;
	z-index: 1111;
	background: var(--main-bg-color);
	color: var(--text);
	box-shadow: var(--elev-inset);
	opacity: 0;
	visibility: hidden;
	border-radius: 4px;
	transform: translateY(-8px);
	transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
	display: flex;
	align-items: center;
}

.SearchHead.open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition-delay: 0s;
}

.SearchHead form input[type="text"] {
	display: block;
	width: 100%;
	height: 40px;
	padding: 0 10px 0 16px;
	font-size: 16px;
	color: #949cb0;
	background-color: #141824;
	border: 1px solid #262d40;
}

#hideSearch {
	background-color: var(--back-color-1);
}

#hideSearch {
	cursor: pointer;
	font-family: NeoSansArabic-Bold, Arial, sans-serif;
	color: var(--text);
	padding: 20px 15px;
	text-align: center;
	display: flex;
	align-items: center;
	gap: 0.4vw;
}

.SearchHead form {
	padding: 11px;
	width: 100%;
}

.SearchHead form :focus {
	border-color: #394155;
	box-shadow: inset 0 1px 1px rgb(34, 39, 52), 0 0 8px rgb(34, 39, 52);
}

/* الوضع العادي */
input::placeholder,
textarea::placeholder {
	transition: color 0.3s ease;
}

/* عند الفوكس */
input:focus::placeholder,
textarea:focus::placeholder {
	color: var(--text);
	/* اللون اللي انت عايزه عند الفوكس */
}

.SearchHead .icon,
.SearchHead button {
	position: absolute;
	top: 50%;
	left: 10px;
	width: 40px;
	height: 34px;
	line-height: 35px;
	font-size: 14px;
	cursor: pointer;
	transform: translateY(-50%);
	color: var(--text);
	background-color: #009ec0;
	border: 1px solid transparent !important;
	border-color: #ccc;
}

.Close--SearchingBox {
	position: absolute !important;
	top: 10px;
	left: 13px;
	width: 38px;
	height: 38px;
	line-height: 40px;
	text-align: center;
	font-size: 22px;
	color: #0e1331;
	border-radius: 8px;
}

/* Fullscreen search result overlay */
.SearchListResult {
	position: fixed;
	inset: 0;
	z-index: 150;
	background: rgba(0, 0, 0, .75);
	opacity: 0;
	transform: scale(.98);
	visibility: hidden;
	transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}

.SearchListResult.show {
	opacity: 1;
	transform: scale(1);
	visibility: visible;
	transition-delay: 0s;
}

.SearchListResult .loader {
	display: table;
	margin: 120px auto;
	transform: scale(1);
}

.SearchListResult h5 {
	height: 40px;
	padding: 5px 18px;
	margin-bottom: 10px;
	font-size: 16px;
	font-weight: 700;
	color: var(--text);
	border-bottom: 1px solid rgba(255, 255, 255, .1);
	text-align: right;
}

.SearchListResult a {
	color: var(--text);
}

.SearchListResult .SearchInnerList {
	height: calc(100% - 60px);
	margin: 0 300px;
	background: var(--main-bg-color);
	position: relative;
	overflow: auto;
	padding: 16px 20px;
	overscroll-behavior: contain;
	text-align: center;
}

@media (max-width:1199.98px) {
	.SearchListResult .SearchInnerList {
		margin: 0 120px;
	}
}

@media (max-width:767.98px) {
	.SearchListResult .SearchInnerList {
		margin: 0 16px;
	}
}

a.SearchListMoreButton {
	font-family: NeoSansArabic-Bold, Arial, sans-serif;
	border-radius: 101px;
	border: 0;
	color: var(--main-bg-color);
	background-color: var(--text);
	display: inline-flex;
	align-items: center;
	gap: 1.2vw;
	width: 170px;
	justify-content: center;
	padding: 12px;
	font-size: 16px;
	margin-top: 20px;
}

a.SearchListMoreButton:hover {
	color: #009ec0;
}

.SearchInnerList>li {
	display: inline-block;
	width: 100%;
	margin-bottom: 10px;
}

.SearchInnerList>li .SearchThumb {
	width: 60px;
	height: 70px;
	float: right;
	overflow: hidden;
	border: 2px solid var(--blue-color);
	box-shadow: 0 2px 12px #0000005c;
}


.SearchInnerList>li .SearchResultInner {
	float: left;
	width: calc(100% - 75px);
}

.SearchInnerList>li .SearchResultInner .Stars {
	font-size: 10px;
	margin-bottom: 3px;
	position: relative;
	color: #00000033;
}

.SearchInnerList>li .SearchResultInner .Stars .Front {
	position: absolute;
	inset: auto 0 0 0;
	width: 100%;
	height: 100%;
	color: #ffb659;
}

.SearchInnerList>li .SearchResultInner>h1 {
	font-size: 14px;
	margin-bottom: 4px;
	font-weight: 700;
}

.SearchInnerList>li .SearchResultInner>ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.SearchInnerList>li .SearchResultInner>ul>li {
	font-size: 11px;
	font-weight: 700;
	background: linear-gradient(to left, var(--blue-color), transparent);
	height: 20px;
	padding: 5px 8px;
	border-radius: 3px;
	line-height: 14px;
}

.SearchInnerList>li .SearchResultInner>ul>li>span {
	color: var(--bg-white);
	margin-left: 8px;
	line-height: 100%;
}

.SearchInnerList>li .SearchResultInner>ul>li a {
	color: #FFC107;
	font-size: 12px;
	position: relative;
	bottom: 1px;
}

.NoSearchResults {
	margin: 103px auto;
	color: var(--text);
	font-weight: 700;
	font-size: 17px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* ثابت/مخفي عند اللزوم */
.search--userarea--rightbar {
	display: block;
	position: relative;
	margin: 0 -8px 0;
}

.search--userarea--rightbar input {
	display: block;
	width: 100%;
	height: 60px;
	border: 0;
	border-radius: var(--radius);
	padding: 0 26px;
	font-size: 16px;
	background: #fff;
	color: #0e1331;
}

.search--userarea--rightbar>button {
	display: none;
}

.SearchHead.SearchFixed {
	display: none;
}

/* =============================================================
   BREADCRUMBS / BLOCKS / PAGINATION
   ============================================================= */
#my-breadcrumbs {
	margin: 0 -6px 10px;
	line-height: 22px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#my-breadcrumbs>* {
	display: inline-block;
	vertical-align: middle;
	color: var(--blue-color);
	padding: 0 6px;
	font-size: 15px;
}

#my-breadcrumbs a {
    color: #01a5c2;
    line-height: 100%;
    font-size: 17px;
}

.BlocksHolder {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 -5px;
	padding-bottom: 10px;
}

.pagination {
	display: table;
	margin: 20px auto;
	border-radius: 50px;
}

.pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.pagination li {
	padding: 0 3px;
}

.pagination>ul>li>* {
	display: block;
	padding: 11px 15px;
	font-size: 18px;
	line-height: 100%;
	background: #232a41;
	border-radius: 5px;
	color: var(--text)
}

.pagination>ul>li>span.current {
	background: var(--blue-color) !important;
	color: var(--text);
}

/* =============================================================
   LOADER (chase)
   ============================================================= */
.sk-chase {
	width: 40px;
	height: 40px;
	position: relative;
	animation: sk-chase 2.5s infinite linear both;
}

.sk-chase-dot {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	animation: sk-chase-dot 2s infinite ease-in-out both;
}

.sk-chase-dot:before {
	content: "";
	display: block;
	width: 25%;
	height: 25%;
	background: #009ec0;
	border-radius: 100%;
	animation: sk-chase-dot-before 2s infinite ease-in-out both;
}

.sk-chase-dot:nth-child(1) {
	animation-delay: -1.1s;
}

.sk-chase-dot:nth-child(2) {
	animation-delay: -1s;
}

.sk-chase-dot:nth-child(3) {
	animation-delay: -.9s;
}

.sk-chase-dot:nth-child(4) {
	animation-delay: -.8s;
}

.sk-chase-dot:nth-child(5) {
	animation-delay: -.7s;
}

.sk-chase-dot:nth-child(6) {
	animation-delay: -.6s;
}

.sk-chase-dot:nth-child(1):before {
	animation-delay: -1.1s;
}

.sk-chase-dot:nth-child(2):before {
	animation-delay: -1s;
}

.sk-chase-dot:nth-child(3):before {
	animation-delay: -.9s;
}

.sk-chase-dot:nth-child(4):before {
	animation-delay: -.8s;
}

.sk-chase-dot:nth-child(5):before {
	animation-delay: -.7s;
}

.sk-chase-dot:nth-child(6):before {
	animation-delay: -.6s;
}

@keyframes sk-chase {
	100% {
		transform: rotate(360deg);
	}
}

@keyframes sk-chase-dot {

	80%,
	100% {
		transform: rotate(360deg);
	}
}

@keyframes sk-chase-dot-before {
	50% {
		transform: scale(.4);
	}

	100%,
	0% {
		transform: scale(1);
	}
}

/* =============================================================
   ACCESSIBILITY / MOTION
   ============================================================= */
@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

/* =============================================================
  Footer
   ============================================================= */
/* ========== Footer (Vanilla) ========== */
.site-footer {
	background-color: #0a0d14;
	color: var(--text);
	font-size: 14px;
	padding-bottom: 2rem;
}

.site-footer a {
	color: #e6e8ff;
}

audio,
canvas,
embed,
iframe,
object,
svg,
video {
	display: inline-block;
}

.site-footer svg {
	vertical-align: middle;
}

svg:not(:root) {
	overflow: hidden;
}

.scrollup .up {
	color: #d4d4d4;
}

.scrollup {
	text-align: center;
	margin-bottom: 10px;
	display: block;
}

.scrollup path {
	fill: var(--back-color-1);
}

.footer-row {
	display: flex;
	align-items: center;
	font-size: 12px;
	justify-content: space-between;
}

.mt30 {
	margin-top: 10px;
}

.mb30 {
	margin-bottom: 30px;
}

hr {
	display: block;
	height: 1px;
	opacity: 0.25;
	background-color: var(--text);
	margin: 0;
	overflow: visible;
}

.footer-menu a:hover,
.copyrights a:hover {
	color: #0b9bb6;
}

@media (max-width: 991.98px) {
	.footer-row {
		text-align: center;
		flex-direction: column;
	}

}

.footer-col {
	min-width: 0;
}

.site-copyrights p,
.footer-links p {
	margin: 0;
}

.footer-social {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0px;
	padding: 0;
	margin: 0;
}

.footer-social li {
	list-style: none;
}

.footer-social a {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	transition: background .2s ease, transform .2s ease;
	color: #fff;
	padding: 4px 9px;
	text-align: center;
	font-weight: 700;
	font-size: 16pt;
	border-radius: 20px;
}


svg {
	fill: var(--text)
}


.footer-social li a:hover i {
	opacity: 0.8;
}

.footer-social li a:hover svg {
	opacity: 0.8;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
}

@media (max-width: 991.98px) {
	.footer-menu {
		justify-content: center;
	}
}

.footer-menu li {
	list-style: none;
	display: inline-block;
	vertical-align: middle;
	padding: 0 10px;
}

.footer-menu a {
	display: inline-block;
	font-size: 14px;
	color: #fff;
	font-weight: 700;
}

.main-didget-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 15px 0;
}

.main-didget-head h3 {
	display: inline-block;
	font-family: 'NeoSansArabic', Arial, sans-serif;
	padding: 10px 25px;
	border-radius: 20px;
	border: 0;
	color: var(--text);
	font-size: 1.435rem;
	padding-right: 10px;
	position: relative;
	padding-top: 10px;
}


.main-didget-head .see-all {
	font-size: 16px;
	font-family: NeoSansArabic-Bold, Arial, sans-serif;
	float: left;
	padding: 6px 25px;
	position: relative;
}

.main-didget-head .see-all {
	color: #05d3e7;
}

.main-didget-head .see-all:after {
	content: "";
	position: absolute;
	width: 20px;
	height: 30px;
	border: 3.5px solid transparent;
	top: 0;
	right: 0;
	border-top-color: #05d3e7;
	border-right-color: #05d3e7;
}

.main-didget-head .see-all:before {
	content: "";
	position: absolute;
	width: 20px;
	height: 30px;
	border: 3.5px solid transparent;
	bottom: 0;
	left: 0;
	border-bottom-color: #05d3e7;
	border-left-color: #05d3e7;
}

.main-didget-head .see-all:hover {
	color: #000000;
	background: #05d3e7;
}

.anime-grid {
	text-align: center;
	margin-right: -15px;
	margin-left: -15px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
/* عنصر الشريحة */
a.lucodeia-slider-slide-item {
  position: relative;       /* مهم جداً */
  display: block;
  overflow: hidden;         /* يمنع أي بروز للخارج */
  border-radius: 12px;      /* اختياري */
  background-size: cover;   /* للصورة الخلفية */
  background-position: center;
}


/* تأكد إن إطار السلايدر نفسه بيقص الزيادات */
.owl-stage-outer { overflow: hidden; }

.anime-grid .anime-card-container {
	display: inline-block;
	vertical-align: top;
	position: relative;
	text-align: inherit;
	overflow: hidden;
	width: 100%;
	height: 100%;
}

/* Desktop كبير */
.anime-grid .anime-card-themex{
	width: 20%;
	padding: 0 10px;
	margin-bottom: 14px;
}

/* لابتوب */
@media (max-width: 1200px){

	.anime-grid .anime-card-themex{
		width: 25%;
	}

}

/* تابلت */
@media (max-width: 992px){

	.anime-grid .anime-card-themex{
		width: 33.333%;
		padding: 0 8px;
	}

}

/* هاتف */
@media (max-width: 767px){

	.anime-grid .anime-card-themex{
		width: 50%;
		padding: 0 6px;
	}

}

/* هاتف صغير جدا */
@media (max-width: 480px){

	.anime-grid .anime-card-themex{
		width: 50%;
		padding: 0 4px;
	}

	.anime-card-title h3{
		font-size: 12px;
	}

}

/* حاوية الكارت */
.episodes-card-container {
	margin: 0 4px 8px 4px;
	background-color: #1e2436;
	-webkit-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.18);
	-moz-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.18);
	box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.18);
}

/* إطار الصورة بنسبة 16:9 */
.episodes-card {
	position: relative;
	aspect-ratio: 16/9;
	overflow: hidden;
}

.episodes-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

/* تدرّج خفيف فوق الصورة */
.episodes-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .35) 100%);
	pointer-events: none;
	transition: opacity .25s ease;
}

/* رابط يغطي الصورة بالكامل */
.episodes-card .overlay {
	position: absolute;
	inset: 0;
	display: block;
}

/* بادج رقم الحلقة */
.episodes-card-title {
	height: auto;
	color: var(--text);
	font-size: 1.1em;
	padding: 12px;
	overflow: hidden;
	position: absolute;
	width: 100%;
	bottom: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, .8) 100%);
	padding-top: 0;
	z-index: 3;
}

.episodes-card-title h3 {
	font-size: 14px;
	font-weight: 700;
	margin: 0;
	padding: 5px 0;
}

.episodes-card-title a {
	font-family: NeoSansArabic-Bold, Arial, sans-serif;
	color: var(--text);
}

.episodes-card-title a:empty {
	display: none;
}

/* العنوان تحت الصورة */
.ep-card-anime-title {
	font-size: 1.1em;
	padding: 12px;
	width: 100%;
	text-align: center;
}

.ep-card-anime-title h3 {
	font-size: 14px;
	font-weight: 700;
	margin: 0;
	padding: 5px 0;
	white-space: nowrap;
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: center;
	direction: ltr;
	margin: auto;
}

.ep-card-anime-title a {
	color: var(--text)
}


/* حالة فارغة */
.episodes-grid.empty {
	color: #9fb3c8;
	/* muted */
	text-align: center;
	padding: 40px 10px;
	background: #0f1626;
	/* card-bg */
	border-radius: 12px;
}

.hover {
	width: 100%;
	height: 100%;
	float: none;
	overflow: hidden;
	position: relative;
	text-align: center;
	cursor: default;
}

.hover .overlay {
	width: 100%;
	height: 100%;
	position: absolute;
	overflow: hidden;
	bottom: 0;
	left: 0;
	background: linear-gradient(to top, rgb(0 0 0) 0%, transparent 50%, transparent 100%);
}

img {
    width: 100%;
    height: auto;
}

.hover img {
	display: block;
	position: relative;
}

.ehover6 img {
	transform: scale(1);
	transition: all .35s;
}

.anime-card-poster:hover img {
	transform: scale(1.1);
	filter: brightness(.7);
	-webkit-filter: brightness(.7);
}


.triangle-down {
	width: 0;
	height: 0;
	border-left: 60px solid transparent;
	border-right: 60px solid transparent;
	border-top: 45px solid var(--text);
	margin: auto;
}

.triangle-down-white {
	margin-top: -2px;
}

.triangle-down-white {
	border-top: 45px solid var(--back-color-1);
}

.triangle-down-gray {
	border-top: 45px solid var(--main-bg-color);
}

.triangle-down-gray {
	margin-top: -2px;
}

.triangle-down-black {
	border-top: 45px solid #1e2331;
}

.triangle-down-black {
	margin-top: -2px;
}

/*************/
.content {
	background: var(--back-color-1);
}

.space {
	height: 20px;
}

.space.one {
	position: relative;
}

.space.one::after {
	content: "";
	position: absolute;
	inset: -1px -1px auto -1px;
	height: 3px;
	background: linear-gradient(-90deg, #05d3e7, #95e7ef 65%, #1c2233);
	border-top-right-radius: 16px;
	border-top-left-radius: 16px;
	opacity: .9;
}

.page-content-container {
	padding-top: 10px;
	padding-bottom: 40px;
	overflow: hidden;
}

/* الأزرار */
.slider-header {
	display: flex;
	gap: 6px;
	justify-content: flex-end;
}

.slider-header button {
	background: var(--main-bg-color);
	border: 0;
	padding: 4px 10px;
	font-size: 18px;
	cursor: pointer;
	border-radius: 4px;
	transition: color .2s, opacity .2s;
	color: #888;
	/* افتراضي */
}

/* ✅ السهم المتاح */
.slider-header button:not(:disabled) {
	color: #029dbc;
}

/* السهم المعطّل */
.slider-header button:disabled {
	color: #555;
	opacity: .5;
	cursor: default;
	pointer-events: none;
}

/* قبل التحميل: الارتفاع 0 — بعد 500ms بنرجّعه auto بالـ JS */
.Slider--Outer {
	height: 0;
}

/* السلايدر (يظهر بعد ما Owl يحمّل ويضيف owl-loaded) */
.anime-slider {
	direction: rtl;
	opacity: 0;
	transition: opacity .2s ease;
}

.anime-slider.owl-loaded {
	opacity: 1;
}

/* الكارت */
.anime-card-container {
	background-color: #1e2436;
	-webkit-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.18);
	-moz-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.18);
	box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.18);
}

.anime-card-poster {
	position: relative;
	aspect-ratio: 202/300;
}

.owl-carousel .owl-item img {
	display: block;
	width: 100%;
	height: 100%;
}


/* البادجات */
.anime-card-status,
.anime-card-type {
	position: absolute;
	color: #fff;
	z-index: 3;
	padding: 3px 14px;
	border-radius: 10px;
}

.anime-card-status {
	top: 8px;
	left: 8px;
	display: block;
	padding: 5px 10px;
	line-height: 1.333;
	border-radius: 0.5rem;
	background: #16a34a;
	font-family: 'DroidKufi-Regular';
	font-size: 13px;
	font-weight: bold;
}

.anime-card-type {
	bottom: 40px;
	right: -4px;
	color: #fa0;
	font-size: 14px;
	font-weight: bold;
	overflow: hidden;
}

.anime-card-type:before {
	content: "";
	position: absolute;
	width: 100%;
	height: 10px;
	border: 2.5px solid transparent;
	bottom: 2px;
	left: 7px;
	border-bottom-color: #fa0;
	border-left-color: #fa0;
}

.main-didget-head h3:after {
	content: "";
	position: absolute;
	width: 45px;
	height: 30px;
	border: 3.5px solid transparent;
	bottom: 0;
	right: 0;
	border-bottom-color: #0294b2;
	border-right-color: #05d3e7;
}

.anime-card-status a {
	color: #fff;
	text-decoration: none;
	font-size: 12px;
	font-weight: bold;
}

.anime-card-type a {
	color: #ffaa00;
	font-size: 12px;
	font-weight: 700;
	font-family: NeoSansArabic, Arial, sans-serif;
}

/* العنوان */
.anime-card-title {
	font-size: 1.1em;
	padding: 18px;
	width: 100%;
	text-align: center;
}

.anime-card-title h3 {
	direction: rtl;
	unicode-bidi: plaintext;
	font-size: 14px;
	font-weight: 700;
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #fff;
}

.anime-card-title a {
	color: #fff;
	text-decoration: none;
}

/***************/
.lucodeia-slider-meta {
	font-family: NeoSansArabic-Bold, Arial, sans-serif;
	color: #fff;
	text-align: center;
	text-shadow: 1px 1px 0 rgba(0, 0, 0, .75);
	position: relative;
	top: 50%;
	left: 0;
	right: 0;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	z-index: 3333;
}

.lucodeia-slider-meta h1,
.lucodeia-slider-meta h2 {
	font-size: 4em;
	font-weight: 700;
	margin: 0;
	padding: 0;
}

.lucodeia-slider-meta h3 {
	margin-top: 20px;
	margin-bottom: 10px;
}

.lucodeia-slider-slide-item {
	display: block;
	height: 45vh;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.search-in-episodes-list.down .btn-icon {
	width: 100%;
	padding: 14px;
}

a.lucodeia-slider-slide-item::after {
	content: "\00a0";
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(33, 33, 33, .73) 100%);
	position: absolute;
	height: 100%;
	width: 100%;
}

.owl-dots {
	position: absolute;
	bottom: 20px;
	right: 0;
	left: 0;
	margin-top: 10px;
	text-align: center;
	-webkit-tap-highlight-color: transparent;
}

.owl-dots .owl-dot {
	display: inline-block;
	zoom: 1;
}

.owl-dot span {
	width: 10px;
	height: 10px;
	margin: 5px 7px;
	background: #D6D6D6;
	display: block;
	-webkit-backface-visibility: visible;
	transition: opacity .2s ease;
	border-radius: 3px 0px 3px 0px;
	transform: translateY(-50%) rotate(45deg);
}

/* النقطة النشطة */
.owl-dot.active span {
	background: #029dbc;
	/* لون مخصص */
	transform: scale(1.2);
	transform: translateY(-50%) rotate(45deg);

}

.anime-card-views {
	position: absolute;
	bottom: 8px;
	left: 8px;
	background: #0f172a;
	color: var(--text);
	font-size: 12px;
	border-radius: 999px;
	padding: 3px 8px;
	opacity: .9;
}

.anime-card-title {
	display: inline-block;
	cursor: pointer;
	position: absolute;
	bottom: 0;
	left: 0%;
}

/* الصندوق */
.anime-card-title:hover::after {
	content: attr(data-content);
	position: absolute;
	bottom: 128%;
	left: 50%;
	transform: translateX(-50%);
	background: var(--text);
	color: var(--back-color-1);
	padding: 8px 10px;
	border-radius: 6px;
	white-space: normal;
	width: 200px;
	font-size: 13px;
	line-height: 1.4;
	z-index: 99;
}

/* السهم */
.anime-card-title:hover::before {
	content: "";
	position: absolute;
	top: -34%;
	left: 50%;
	transform: translateX(-50%) translateY(-6px);
	border-width: 25px;
	border-style: solid;
	border-color: #ffffff transparent transparent transparent;
	z-index: 100;
}

/*****************/
.episodes-list-content {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -2px;
}

/* العنصر */
.episodes-card-container {
	margin: 0 4px 8px 4px;
	/* زي ما طلبت */
	flex: 0 0 calc(25% - 8px);
	max-width: calc(25% - 8px);
}







/* شارة "جديد" */
.pinned-card .new-episode {
	position: absolute;
	top: 10px;
	right: 10px; /* بدل الالتصاق */

	background: #7f5af0;
	color: #fff;
	font-size: 11px;
	padding: 4px 8px;
	border-radius: 6px;
	font-weight: bold;
}



/* سطر الإحصائيات (المدة + الموسم) */
.pinned-card .badge.light-soft {
	margin-top: 6px;
	font-size: 12px;
	padding: 4px 8px;

	background: #131722;
	color: #fff;
	border-radius: 6px;

	display: inline-block;
	width: fit-content; /* 🔥 أهم سطر */
	max-width: 100%;
}

/* فاصل نقطي بين العناصر */
.pinned-card .search-statics {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 6px;
}

.pinned-card .search-statics span {
	background: rgba(255,255,255,0.08);
	padding: 3px 8px;
	border-radius: 6px;
	font-size: 12px;
	color: #ddd;
}


/* إبراز “الموسم 1” */
.pinned-card .anime-type {
	background: #ffb84d;
	color: #000;
	font-weight: bold;
}

/* شارة الحلقة السفلية */
.pinned-card .badge.light-soft {
	margin-top: 6px;
	font-size: 13px;
	padding: 4px 10px;
}

/* استجابة للموبايل */
@media (max-width: 420px) {

	.pinned-card .info h3 {
		font-size: 15px;
	}
}


.anime-card-details {
	position: relative;
	bottom: 0px;
	width: 100%;
	z-index: 0;
	background: #000;

}


.ep_num {
	position: absolute;
	left: 10px;
	z-index: 1;
	bottom: 42px;
}

.ep_num a {
	color: #fff;

}


.ep_num a:before {
	content: "";
	position: absolute;
	width: 100%;
	border: 2px solid transparent;
	bottom: 0px;
	border-radius: 0;
	left: -13px;
	border-bottom-color: var(--text);
	padding-left: 84px;
}

/***************/
/* ===== ديسكتوب: بدون تغيير ===== */
#touch-menu {
	display: none
}

.menu-overlay,
a.menu-close {
	display: none
}


/* ===== موبايل/تابلت فقط ===== */
@media (max-width:991.98px) {
	.header-container {
		display: flex;
		flex-direction: column;
		padding-bottom: 10px !important;
	}

	/* زر الفتح */
	#touch-menu {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		padding: 10px 12px;
		border-radius: 4px;
		background: #111;
		color: #fff;
		text-decoration: none;
		margin-bottom: 10px;
		width: 85%;
	}

	.menu-overlay,
	a.menu-close {
		display: block
	}

	/* لوحة القائمة (أوف-كانڤاس من اليمين) */
	#mobile-nav {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: 280px;
		max-width: 85vw;
		background: var(--main-bg-color);
		color: var(--text);
		transform: translateX(100%);
		transition: transform .3s ease;
		z-index: 10001;
		padding: 52px 12px 14px;
		overflow: auto;
		box-shadow: -8px 0 20px rgba(0, 0, 0, .25);
	}

	/* فتح عند استهداف الهاش */
	#mobile-nav:target {
		transform: translateX(0)
	}

	/* زر الإغلاق بالأعلى */
	#mobile-nav .menu-close {
		line-height: 36px;
		text-align: center;
		background: var(--back-color-1);
		border-radius: 8px;
		color: var(--text);
		text-decoration: none;
		font-size: 16px;
		margin-top: -20px;
		margin-bottom: 40px;
	}

	/* شكل روابط القائمة داخل اللوحة */
	#mobile-nav .main-menu {
		display: flex;
		flex-direction: column;
		gap: 8px;
		list-style: none;
		margin: 0;
		padding: 0
	}

	#mobile-nav .main-menu>li>a {
		display: block;
		background: var(--back-color-1);
		color: var(--text);
		padding: 12px 14px;
		text-decoration: none;
		border-radius: 2px;
	}

	#mobile-nav .main-menu>li>a:hover {
		background: #242427
	}

	/* الغطاء */
	.menu-overlay {
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, .45);
		opacity: 0;
		pointer-events: none;
		transition: opacity .3s;
		z-index: 10000
	}

	/* إظهار الغطاء عند فتح القائمة */
	#mobile-nav:target~.menu-overlay {
		opacity: 1;
		pointer-events: auto
	}
}

@media (max-width:480px) {
	.main-didget-head .see-all {
		font-size: 13px;
		padding: 6px 8px;
	}

	.lucodeia-slider-meta h1,
.lucodeia-slider-meta h2 {
		font-size: 1.5em;
	}

	.lucodeia-slider-meta h3 {
		margin-top: 5px;
		margin-bottom: 0px;
	}

	h3 {
		font-size: 16px;
	}


	.SearchHead {
		left: 0px;
		right: 0px;
	}

}

/**********************************************/
.second-section {
	color: var(--text);
	background-image: url('<?php echo esc_url( UI_URL . "/Assets/img/background.png" ); ?>');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: visible;
}

.second-section {
	background-color: var(--back-color-1);
}

.second-section h3 {
	text-align: center;
	margin: 0;
	font-family: DroidKufi-Regular, Arial, sans-serif;
	padding: 20px;
	font-size: 20px;
	color: var(--text);
}

.anime-info-container {
	padding: 40px 0;
	font-family: NeoSansArabic-Bold, Arial, sans-serif;
}

.anime-info-right {
	float: right;
	width: 25%;
	padding: 7px;
}


.thumbnail {
	display: block;
	padding: 4px;
	margin-bottom: 20px;
	line-height: 1.428571429;
	background-color: var(--text);
	border: 1px solid #ddd;
	border-radius: 4px;
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}

.anime-thumbnail .thumbnail {
	-webkit-box-shadow: 0 -1px 19px 7px rgba(0, 0, 0, .64);
	-moz-box-shadow: 0 -1px 19px 7px rgba(0, 0, 0, .64);
	box-shadow: 0 -1px 19px 7px rgba(0, 0, 0, .64);
	padding: 0;
	background-color: var(--text);
	border: 0 solid #0096b3;
	margin-bottom: 0;
	border-radius: 0;
	display: inline-block;
}

.anime-thumbnail img {
	width: 230px;
	height: 328px;
}

.anime-info-left {
	float: right;
	width: 75%;
	padding: 7px;
}

.anime-details h1.anime-details-title {
	display: block;
	padding: 0;
	margin: 0 0 25px 0;
}

.anime-details ul.anime-genres {
	list-style-type: none;
	padding: 0;
	margin: 0 0 25px 0;
}

.anime-details ul.anime-genres li {
	display: inline-block;
}

.anime-details ul.anime-genres li a {
	padding: 9px 18px;
	border: 1px solid #4b555f;
	border-radius: 25px;
	margin-left: 7px;
	color: var(--text);
	font-size: 14px;
	display: inline-block;
	margin-bottom: 6px;
}

.anime-details ul.anime-genres li a:hover {
	border: 1px solid #029dbc;
	color: #029dbc;

}

.anime-external-links .anime-mal:hover {
	color: #009ec0;
}

.anime-details p.anime-story {
	text-align: justify;
	font-size: 14px;
	margin: 0 0 10px 0;
}

.row {
	margin-right: -15px;
	margin-left: -15px;
	content: " ";
	display: table;
}

.col-xs-1,
.col-sm-1,
.col-md-1,
.col-lg-1,
.col-xs-2,
.col-sm-2,
.col-md-2,
.col-lg-2,
.col-xs-3,
.col-sm-3,
.col-md-3,
.col-lg-3,
.col-xs-4,
.col-sm-4,
.col-md-4,
.col-lg-4,
.col-xs-5,
.col-sm-5,
.col-md-5,
.col-lg-5,
.col-xs-6,
.col-sm-6,
.col-md-6,
.col-lg-6,
.col-xs-7,
.col-sm-7,
.col-md-7,
.col-lg-7,
.col-xs-8,
.col-sm-8,
.col-md-8,
.col-lg-8,
.col-xs-9,
.col-sm-9,
.col-md-9,
.col-lg-9,
.col-xs-10,
.col-sm-10,
.col-md-10,
.col-lg-10,
.col-xs-11,
.col-sm-11,
.col-md-11,
.col-lg-11,
.col-xs-12,
.col-sm-12,
.col-md-12,
.col-lg-12 {
	position: relative;
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px;
}

@media (min-width: 768px) {
	.col-sm-1,
	.col-sm-2,
	.col-sm-3,
	.col-sm-4,
	.col-sm-5,
	.col-sm-6,
	.col-sm-7,
	.col-sm-8,
	.col-sm-9,
	.col-sm-10,
	.col-sm-11,
	.col-sm-12 {
		float: right;
	}
	
	.anime-details .anime-external-links a {
    margin-left: 8px;
}
}


@media (min-width: 768px) {
	.col-sm-12 {
		width: 100%;
	}
}

@media (min-width: 992px) {
	.col-md-6 {
		width: 50%;
	}
}


@media (min-width: 992px) {

	.col-md-1,
	.col-md-2,
	.col-md-3,
	.col-md-4,
	.col-md-5,
	.col-md-6,
	.col-md-7,
	.col-md-8,
	.col-md-9,
	.col-md-10,
	.col-md-11,
	.col-md-12 {
		float: right;
	}
}

.anime-details .anime-external-links {
	margin-top: 20px;
	display: block;
}

.anime-external-links .anime-trailer {
	background-color: #009ec0;
	padding: 10px 20px;
	border-radius: 25px;
	margin-left: 3px;
	color: #fff;
	font-size: 14px;
}

.anime-external-links .anime-mal {
	padding: 10px 20px;
	border: 1px solid #4b555f;
	border-radius: 25px;
	color: var(--text);
	font-size: 14px;
}

.anime-details .anime-info {
	font-size: 14px;
	margin: 8px 0;
}

.anime-external-links .anime-first-ep {
	color: #fff !important;
	background-color: #cf0000;
	border-radius: 0px 10px 0px 10px;
}

.anime-external-links .anime-trailer:hover {
	opacity: 0.9;
}

.form-group .form-control {
	font-size: 14px;
	border-radius: 0;
	font-family: NeoSansArabic, Arial, sans-serif;
	text-align: center;
	height: 37px;
}

.form-group .form-control:focus {
	border-color: #394155;
	box-shadow: inset 0 1px 1px rgb(34, 39, 52), 0 0 8px rgb(34, 39, 52);
}

.form-group .form-control {
	color: var(--text);
	background-color: #1e2436;
	border: 1px solid #1e2436;
}

@media (max-width: 767px) {
	.anime-info-right {
		float: right;
		width: 100%;
		padding: 7px;
		text-align: center;
	}
}

@media (max-width: 767px) {
	.anime-info-left {
		float: right;
		width: 100%;
		padding: 7px;
		text-align: center;
	}
}

@media (max-width: 767px) {
	.search-for-episode {
		float: none;
		margin-bottom: 15px;
	}
}

@media (max-width: 767px) {
	.main-didget-head {
		text-align: center;
		flex-direction: column;
	}
}

@media (max-width: 767px) {

	.anime-external-links .anime-trailer,
	.anime-external-links .anime-mal {
		display: block;
		margin-bottom: 10px;
	}
}

@media (max-width: 767px) {

	.form-group,
	.form-group .form-control {
		width: 100%;
	}

	.anime-info-left .row {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		padding: 10px 0;
		gap: 3.4vw;
	}
}

.main-section {
	color: #0a0d14;
}

.main-section {
	background-color: #fff;
	-webkit-box-shadow: inset 0 6px 8px -7px rgba(0, 0, 0, .29);
	-moz-box-shadow: inset 0 6px 8px -7px rgba(0, 0, 0, .29);
	box-shadow: inset 0 6px 8px -7px rgba(0, 0, 0, .29);
}

.main-section h3 {
	text-align: center;
	margin: 0;
	font-family: DroidKufi-Regular, Arial, sans-serif;
	padding: 20px;
	font-size: 20px;
}

/*****************
*/
.anime-filter-options {
	margin-top: 15px;
	margin-bottom: 5px;
}

.anime-filter-options ul {
	margin: 0 0 10px 0;
	padding: 0;
	list-style-type: none;
	text-align: center;
}

.anime-filter-options ul li {
	display: inline-block;
}

.dropdown {
	position: relative;
}

.btn {
	display: inline-block;
	margin-bottom: 0;
	font-weight: 400;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
	background-image: none;
	border: 1px solid transparent;
	white-space: nowrap;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.428571429;
	border-radius: 4px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}

.btn-default {
	color: #333;
	background-color: var(--text);
	border-color: #ccc;
}

.ThemesXCom_links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.anime-filter-options .btn-default {
	color: var(--text);
}

.anime-filter-options .btn-default {
	background-color: var(--back-color-1);
	border: 1px solid #2d354a;
}

.btn .caret {
	margin-right: 0;
}

.caret {
	display: inline-block;
	width: 0;
	height: 0;
	margin-right: 2px;
	vertical-align: middle;
	border-top: 4px solid;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
}

.dropdown-menu {
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 1000;
	display: none;
	float: right;
	min-width: 160px;
	padding: 5px 0;
	margin: 2px 0 0;
	list-style: none;
	font-size: 14px;
	background-color: var(--text);
	border: 1px solid #ccc;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: 4px;
	-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
	box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
	background-clip: padding-box;
}

.scrollable-menu {
	height: auto;
	max-height: 200px;
	overflow-x: hidden;
}
    .seasons-nav{display:flex;gap:.5rem;flex-wrap:wrap;margin:10px 0 20px}
    .seasons-nav a{display:inline-block;padding:.35rem .75rem;border:1px solid #2a2f3a;border-radius:999px;text-decoration:none;    color: #fff;}
    .seasons-nav a.active{background:#00bcd4;color:#0b0f15;border-color:#00bcd4}
    

.scrollable-menu {
	height: auto;
	max-height: 200px;
	overflow-x: hidden;
}

.anime-filter-options ul {
	margin: 0 0 10px 0;
	padding: 0;
	list-style-type: none;
	text-align: center;
}

.open>.dropdown-menu {
	display: block;
}

ul.dropdown-menu li {
	display: block;
	text-align: right;
}

.dropdown-menu>li>a {
	display: block;
	padding: 3px 20px;
	clear: both;
	font-weight: 400;
	line-height: 1.428571429;
	color: #333;
	white-space: nowrap;
}

.e-alphabetical-filter {
	margin-bottom: 5px;
}


.text-center {
	text-align: center;
}

.a-alphabetical-filter .letters,
.e-alphabetical-filter .letters {
	margin: 0;
}

.letters {
	display: inline-block;
	padding-right: 0;
	margin: 20px 0;
	border-radius: 4px;
}

.letters>li {
	display: inline;
}

.e-alphabetical-filter .letters>li>a,
.e-alphabetical-filter .letters>li>span,
.a-alphabetical-filter .letters>li>a,
.a-alphabetical-filter .letters>li>span {
	background-color: var(--back-color-1);
	border: 1px solid #2d354a;
}

.a-alphabetical-filter .letters>li>a,
.a-alphabetical-filter .letters>li>span,
.e-alphabetical-filter .letters>li>a,
.e-alphabetical-filter .letters>li>span {
	color: var(--text);
	font-family: DroidKufi-Regular, Arial, sans-serif;
	border-radius: 8px;
	margin: 0 2px;
}

.letters>li>a {
	position: relative;
	float: right;
	padding: 6px 12px;
	line-height: 1.428571429;
	text-decoration: none;
	color: #428bca;
	background-color: var(--text);
	border: 1px solid #ddd;
	margin-right: -1px;
}

.a-alphabetical-filter .letters>li>a:hover {
	border: 1px solid #05d3e7;
	color: #05d3e7;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
.open .dropdown-toggle.btn-default {
	color: #333;
	background-color: #ebebeb;
	border-color: #adadad;
}

/* ========== Reset & Utilities ========== */
.nav:before,
.panel-body:before {
	content: " ";
	display: table;
}

.nav:after,
.panel-body:after {
	content: "";
	display: table;
	clear: both;
}

/* ========== User Post Info ========== */
.user-post-info-content {
	font-family: NeoSansArabic-Bold, Arial, sans-serif;
	color: var(--text);
	padding: 15px 0;
	display: flex;
	justify-content: space-between;
	background-color: var(--main-bg-color);
}

.user-post-info {
	width: 50%
}

.user-post-info-content span {
	display: block;
	padding: 5px 0;
	text-align: center;
	font-size: 12px
}

.user-post-info-content span a {
	font-size: 12px
}

/* ========== Episodes Sidebar/List ========== */
.all-episodes {
	background-color: #1c2232;
	font-family: DroidKufi-Regular, Arial, sans-serif;
	flex: 0 0 280px;
}

.all-episodes-head {
	background-color: var(--main-bg-color);
	color: var(--text);
	padding: 15px;
	text-align: center;
}

ul.all-episodes-list {
	list-style-type: none;
	padding: 0;
	margin: 0
}

ul.all-episodes-list li {
	border-bottom: 1px solid #242b3e;
	padding: 10px;
}

ul.all-episodes-list li a {
	color: #949cb0;
	transition: all .2s ease-in-out
}

.episode-active a {
	color: #009ec0 !important
}

.search-in-episodes-list {
	color: var(--text);
	padding: 10px;
	background-color: #131722;
}

.search-in-episodes-list .form-group {
	margin-bottom: 0
}

.search-in-episodes-list .form-control {
	color: #949cb0;
	background-color: #1b1f2d;
	width: 100%;
	border: 1px solid #1e2436;
}

.search-in-episodes-list .form-control:focus {
	border-color: #394155;
	box-shadow: inset 0 1px 1px rgb(34 39 52), 0 0 8px rgb(34 39 52);
}

/* ========== Watch Container / Tabs ========== */
.episode-watch-conteiner {
	display: flex;
	flex-wrap: wrap;
	padding: 20px 0;
	gap: 20px;
}

div#episode-watch-content {
	flex: 1;
	max-height: max-content;
}

.nav-tabs {
	border-bottom: 1px solid #ddd
}

.nav {
	margin-bottom: 0;
	padding-right: 0;
	list-style: none
}

.nav>li {
	position: relative;
	display: block
}

.nav>li>a {
	position: relative;
	display: block;
	padding: 10px 2px;
	text-align: center;
}

.nav-tabs>li {
	float: right;
	margin-bottom: -1px
}

.nav-tabs>li>a {
	line-height: 1.428571429;
	border: 1px solid transparent;
	border-radius: 0.5rem;

}

.episode-watch-conteiner .nav-tabs {
	border-bottom: 1px solid #3f3f3f;
	margin-bottom: 5px;
}

.episode-watch-conteiner .nav-tabs>li {
	padding: 0px 0px 5px 5px;
	width: calc(100% / 5);
	border-radius: 0.5rem;
}

.episode-watch-conteiner .nav-tabs>li>a {
	color: #fff;
	font-family: DroidKufi-Regular, Arial, sans-serif;
	cursor: pointer;
	background-color: #0a0d14;
}

.episode-watch-conteiner .nav-tabs>li.active>a,
.episode-watch-conteiner .nav-tabs>li.active>a:focus,
.episode-watch-conteiner .nav-tabs>li.active>a:hover {
	color: #fff;
	background-color: #009ec0;
	border: 1px solid transparent;
}

/* ========== Watch Links / Prev-Next ========== */
.episode-watch-links {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 0 0 20px;
}

.previous-episode {
	display: block;
	text-align: right
}

.previous-episode a,
.next-episode a {
	display: inline-block;
	border-radius: 30px;
	font-size: 14px;
	border: 1px solid #4b555f;
	background: transparent;
	padding: 10px 20px;
	color: var(--text);
}

.next-episode {
	display: block;
	text-align: left
}

.anime-page-link {
	display: block;
	text-align: center;
	margin: 10px 0;
}

.anime-page-link a {
	display: inline-block;
	background-color: #009ec0;
	padding: 11px 30px;
	color: #fff;
	font-size: 14px;
	width: 100%;
	border-radius: 0.5rem;
	font-family: 'NeoSansArabic-Bold';
}

/* ========== Scrollbar ========== */
.scroll-episodes-list {
	height: 448px;
	overflow: auto
}

.scroll-episodes-list::-webkit-scrollbar {
	width: 6px
}

.scroll-episodes-list::-webkit-scrollbar-thumb {
	border-radius: 0;
	box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
	background-color: #04b8c9;
}

.scroll-episodes-list::-webkit-scrollbar-track {
	border: 1px solid #0c0f21;
	padding: 2px 0;
	background-color: #0c0f21;
}

/* ========== Video Wrapper ========== */
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	margin-bottom: 0
}

.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%
}

.dates .anime-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}

/* ========== Splash / Backdrop ========== */
.backthemex {
	display: block;
	width: 100%;
	height: 100%;
	background-size: cover;
	position: relative;
	padding: 0;
	background: #131722;
	border-radius: 0.5rem;
}

.search-in-episodes-list.top {
	border-radius: 0.5rem 0.5rem 0rem 0rem;
}

.search-in-episodes-list.down {
	border-radius: 0rem 0rem 0.5rem 0.5rem;
}

.watch123 {
	width: 100%;
	height: 100%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
}

#watch-splash {
	cursor: pointer
}

/* ========== Play Button (Unified) ========== */
.sz-play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #e80036;
	width: 40px;
	height: 40px;
	text-align: center;
	line-height: 70px;
	font-size: 39px;
	border-radius: 8px;
	box-shadow: 0 0 30px #000;
	cursor: pointer;
	display: flex;
	align-items: center;
}

.sz-play-button i {
	display: block;
	position: relative;
	z-index: 3;
	color: #fff;
}

/* دائرة داخلية */
.sz-play-button:after {
	content: "";
	position: absolute;
	z-index: 1;
	left: 50%;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
	display: block;
	width: 80px;
	height: 80px;
	background: #0ab0d3;
	border-radius: 50px;
	transition: all .2s;
	box-shadow: 0 0 20px #000;
}

.sz-play-button:hover:after {
	background-color: #009ec0;
}

/* نبض خارجي */
@keyframes pulse-border {
	0% {
		transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
		opacity: 1;
	}

	100% {
		transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
		opacity: 0;
	}
}

.sz-play-button:before {
	content: "";
	position: absolute;
	z-index: 0;
	left: 50%;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
	display: block;
	width: 80px;
	height: 80px;
	background: #0ab0d3;
	border-radius: 50px;
	animation: pulse-border 1.5s ease-out infinite;
}

/* ========== DOWNLOAD TABLE Styles ========== */
.download-list .area-head.table-head {
	background: #131722;
	border: 1px solid #1f2636;
	padding: 12px 16px;
	border-radius: 7px;
	border-bottom: 1px solid #ffffff1c;
	margin-bottom: 2px;
}

.download-list .area-title {
	margin: 0;
	color: #fff;
	font-size: 20px;
	font-family: NeoSansArabic-Bold, Arial, sans-serif;
	padding: 8px 0;
	text-align: right;

}

.download-list .responsive-table {
	overflow-x: auto;
	border: 1px solid #1f2636;
	border-top: none;
	border-radius: 0 0 6px 6px;
	background: #0a0d14;
}

.download-list .table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	direction: rtl;
}

.download-list .table thead th {
	color: #cdd3e0;
	font-weight: 700;
	text-align: right;
	padding: 12px;
	background: #131722;
	border-bottom: 1px solid #1f2636;
	white-space: nowrap;
}

.episode-download-container {
	padding: 50px 0;
}

.download-list .table tbody tr {
	border-bottom: 1px solid #1f2636;
}

.download-list .table tbody td {
	color: #9aa3b8;
	padding: 12px;
	vertical-align: middle;
}

.download-list .td-server .server-cell {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: nowrap;

}

.download-list .favicon {
	width: 22px;
	height: 22px;
	border-radius: 4px;
	background-size: cover;
	background-position: center;
	display: inline-block;
	flex: 0 0 22px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset;
}

.download-list .server-name {
	color: #e5e9f3;
	font-weight: 600
}

.download-list .badge.light-soft {
	background: #252d43;
	color: #cdd3e0;
	padding: 6px 10px;
	border-radius: 999px;
	font-size: 12px;
	display: inline-block;
}

.download-list .btn.labeled.secondary {
	display: inline-flex;
	align-items: center;
	background: #0b9bb6;
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 0px 0px 0px 11px;
	text-decoration: none;
	line-height: 1;
	transition: transform .12s ease, opacity .12s ease, background .12s ease;
	box-shadow: 0 6px 20px rgba(0, 155, 182, .24);
}

.download-list .btn.labeled.secondary:hover {
	background: #0aa1bf;
	transform: translateY(-1px);
}

.download-list .btn.labeled.secondary:active {
	transform: translateY(0);
}

.download-list .btn.labeled.secondary .btn-icon-themex {
	align-items: center;
	font-size: 18px;
	background-color: rgba(255, 255, 255, .1);
	width: 2.5rem;
	height: 2.5rem;
	margin-left: 5px;
	line-height: 2.5rem;
	display: inline-block;
}

.download-list .th-server {
	width: 40%
}

.download-list .th-quality {
	width: 15%
}

.download-list .th-lang {
	width: 15%
}

.download-list .th-link {
	width: 30%;
	text-align: right
}

.download-list .td-link {
	text-align: right
}

/* Responsive tweak */
@media (max-width: 640px) {
	.download-list .th-lang {
		display: none
	}

	.download-list .td-lang {
		display: none
	}
}

/* ========== Responsive (existing) ========== */


/* Zebra stripes: صف فاتح وصف أغمق */
.download-list .table tbody tr {
	transition: background-color .15s ease;
}

.download-list .table tbody tr:nth-child(odd) {
	background-color: #121827;
	/* أفتح قليلًا */
}

.download-list .table tbody tr:nth-child(even) {
	background-color: #1c2232;
	/* أغمق سنة */
}

.download-list .table th.th-server,
.download-list .table td.td-server,
.download-list .table th.th-link,
.download-list .table td.td-link {
	text-align: right !important;
}

.social-single {
	display: flex;
	align-items: center;
}

.social-single .btn {
	width: 100%;
	margin: 4px
}

.social-single span {
	margin-left: 5px;
	padding-left: 8px;
	padding-top: 5px;
	padding-bottom: 5px;
	box-sizing: border-box;
	border-width: 0;
	border-style: solid;
	border-color: #404040;
	border-left-width: 2px;
}

.social-single span b {
	margin-right: 5px;
}

.social-single .btn:first-child {
	margin-right: 0;
}

.social-single .btn:last-child {
	margin-left: 0;
	background: #ad0606;
}

.btn.small {
	height: 2.25rem;
	line-height: 2.25rem;
}

.social-single .btn i {
	color: #fff;
	font-size: 22px;
	width: 20px;
	height: 20px;
}

.facebook-bg {
	background-color: #0866FF;

}

.mal-bg {
	background-color: #2e51a2
}

.twitter-x-bg {
	background-color: #000;

}

.youtube-bg {
	background-color: #e43e3c;

}

.instagram-bg {
	background-color: #d43f8d;

}

.whatsapp-bg {
	background-color: #10d058;

}

.pinterest-bg {
	background-color: #bd081c;

}

.reddit-bg {
	background-color: #ff4500;

}

.telegram-bg {
	background-color: #3390ec;

}

.white-bg {
	background: var(--text);

}

.favorite-bg {
	background-color: #f96565;

}

.watchlist-bg {
	background-color: #0693e3;

}

path {
	fill: var(--text);
}

.social-single .btn,
.social-single a.btn {
	transform: translateY(0);
	transition: transform .15s ease, box-shadow .15s ease;
	will-change: transform;
}

.social-single .btn:hover,
.social-single a.btn:hover {
	transform: translateY(-3px);
	/* ارفعها 3px لفوق */
	box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}

/* لمسة بسيطة عند الضغط */
.social-single .btn:active,
.social-single a.btn:active {
	transform: translateY(-1px);
}

.copyrights {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.footer-row .site-branding {
	padding-inline: 0px;
	margin-left: -21px;

}


.container-sm {
	max-width: 740px;
	margin-inline: auto;
	padding: 20px;
}

.form-box {
	background: #111827;
	/* panel */
	border: 1px solid #1f2937;
	/* border */
	border-radius: 14px;
	padding: 24px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
	direction: rtl;
	color: #e5e7eb;
	/* text */
	backdrop-filter: blur(4px);
}

.area-head {
	margin-bottom: 18px;
}

.area-head .area-title {
	margin: 0 0 8px;
	font-size: 1.35rem;
	line-height: 1.4;
}

.area-head p {
	margin: 0;
	color: #9ca3af;
	/* muted */
	font-size: .95rem;
}

.error-404-posts h2 {
	font-size: 27px;
	text-align: center;
	color: var(--text);
	margin: 0;
	display: block;
	margin-bottom: 20px;
}

.error-404-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 70vh;
	text-align: center;
	color: var(--text);
	position: relative;
	overflow: hidden;
}

.error-404-inner {
	position: relative;
	z-index: 2;
}

.error-404-msg {
	font-size: 22px;
	margin-bottom: 20px;
	font-weight: 600;

}

.error-404-numbers {
	font-size: 140px;
	font-weight: bold;
	color: #0294b2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
	height: 100%;
	padding: 60px 0;
}

.error-404-disk {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	color: var(--text);
}

.error-404-btn {
	display: flex;
	gap: .75rem;
	flex-wrap: wrap;
	justify-content: center;
	flex-direction: column;
}

.error-404-btn a {
	display: inline-block;
	padding: 12px 28px;
	background: #0294b2;
	color: #fff;
	text-decoration: none;
	border-radius: 30px;
	font-weight: bold;
	transition: 0.3s ease;
}

.error-404-btn a:hover {
	background: #05d3e7;
}

.error-404-container input.search-field {
	display: block;
	width: 100%;
	height: 60px;
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: 0 8px 0 9px;
	font-size: 16px;
	background: #bdc4ec21;
}

.error-404-container button.search-submit {
	display: flex;
	padding: 13px 12px;
	gap: 0.4vw;
	background: #0294b2;
	color: #fff;
	text-decoration: none;
	border-radius: 5px;
	font-weight: bold;
	transition: 0.3s ease;
	align-items: center;
}

.error-404-btn a i {
	font-size: 18px;
	margin-left: 4px;
	top: 2px;
}

/* ====== Grid ====== */
.form-ui.row {
	display: grid;
	gap: 14px;
	grid-template-columns: 1fr;
}

.col-12 {
	grid-column: 1 / -1;
}

.col-s-6 {
	/* becomes half on wider screens */
}


@media (min-width: 640px) {
	.form-ui.row {
		grid-template-columns: repeat(12, 1fr);
	}

	.col-12 {
		grid-column: span 12;
	}

	.col-s-6 {
		grid-column: span 6;
	}
}

/* ====== Fields ====== */
.form-label {
	display: inline-block;
	margin-bottom: 6px;
	font-size: .95rem;
	color: #e5e7eb;
}

#mirai-contact-form input[type="text"],
#mirai-contact-form input[type="email"],
#mirai-contact-form input[type="url"],
#mirai-contact-form textarea {
	width: 100%;
	background: #0b1220;
	/* input bg */
	color: #e5e7eb;
	border: 1px solid #1f2937;
	border-radius: 10px;
	padding: 12px 14px;
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
	font-size: .985rem;
}

#mirai-contact-form textarea {
	min-height: 140px;
	resize: vertical;
}

/* Focus */
#mirai-contact-form input:focus,
#mirai-contact-form textarea:focus {
	border-color: #05d3e7cf;
	box-shadow: 0 0 0 3px #05d3e74d;
}

/* Placeholder */
#mirai-contact-form ::placeholder {
	color: #6b7280;
}

/* ====== Icon Control Wrapper ====== */
.control-icon {
	position: relative;
}

.control-icon::before {
	content: "\f0c1";
	/* fa-link */
	font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", sans-serif;
	font-weight: 900;
	position: absolute;
	inset-inline-start: 12px;
	top: 50%;
	transform: translateY(-50%);
	opacity: .55;
	pointer-events: none;
}

.control-icon input {
	padding-inline-start: 40px;
}

/* ====== Button ====== */
.btn.primary.fluid {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 12px 16px;
	background: linear-gradient(180deg, #05d3e7, #05d3e7);
	color: #07130d;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: 7px;
	cursor: pointer;
	font-weight: 700;
	letter-spacing: .2px;
	transition: transform .08s ease, filter .2s ease, box-shadow .2s ease;
	box-shadow: 0 6px 18px rgba(34, 197, 94, .25);
}

.btn.primary.fluid:hover {
	filter: brightness(1.05);
}

.btn.primary.fluid:active {
	transform: translateY(1px);
}

/* ====== Response Message ====== */
#contact-response-message {
	margin-top: 10px;
	font-size: .95rem;
	line-height: 1.5;
	color: #9ca3af;
	/* muted */
}

#contact-response-message.is-success {
	color: #a7f3d0;
}

#contact-response-message.is-error {
	color: #ef4444;
}

/* ====== Validation States ====== */
#mirai-contact-form .is-invalid {
	border-color: #ef4444 !important;
	box-shadow: 0 0 0 4px rgba(239, 68, 68, .25) !important;
}

#mirai-contact-form .is-valid {
	border-color: #22c55e !important;
	box-shadow: 0 0 0 4px rgba(34, 197, 94, .35) !important;
}

/* ====== Misc ====== */
#mirai-contact-form [type="hidden"] {
	display: none !important;
}

#mirai-contact-form [disabled] {
	opacity: .6;
	cursor: not-allowed;
}

.issue-report-wrap {
	max-width: 740px;
	margin: 20px auto;
	background: #111827;
	border: 1px solid #1f2937;
	border-radius: 14px;
	padding: 24px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
	direction: rtl;
	color: #e5e7eb;
	backdrop-filter: blur(4px);
}

.issue-report-wrap .form-title {
	margin: 0 0 16px;
	font-size: 24px
}

.issue-report-form .form-grid {
	display: grid;
	gap: 16px
}

.issue-report-form .form-grid.single-col {
	grid-template-columns: 1fr
}

.issue-report-form label {
	display: flex;
	flex-direction: column;
	font-size: 14px;
	gap: 8px
}

.issue-report-form input,
.issue-report-form select,
.issue-report-form textarea {
	background: #0f1320;
	border: 1px solid #2a3143;
	border-radius: 10px;
	padding: 10px 12px;
	color: #fff
}

.issue-report-form textarea {
	resize: vertical
}

.issue-report-form .btn.primary {
	margin-top: 8px;
	background: #3a7afe;
	color: var(--text);
	border: 0;
	border-radius: 12px;
	padding: 12px 18px;
	cursor: pointer
}

.issue-report-wrap .notice {
	margin-bottom: 12px;
	padding: 10px 12px;
	border-radius: 8px
}

.issue-report-wrap .notice.success {
	background: #10371e;
	border: 1px solid #1e7f45
}

.issue-report-wrap .notice.error {
	background: #3a1414;
	border: 1px solid #a03b3b
}


.BreakNews {
	border-radius: 25px;
	padding: 7px;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	position: relative;
	overflow: hidden;
}

.BreakNewsBa {
	background: linear-gradient(45deg, #ffffff00 0, #ffffff17 100%);
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	position: relative;
	overflow: hidden;
	flex: 1;
	border-radius: 0px 30px 30px 0px;
}

.BreakNews .BreakNewsTitle {
	float: right;
	display: block;
	width: 100px;
	text-align: center;
	color: #fff;
	font-weight: 500;
	font-size: 14px;
	background: #009ab9;
	line-height: 40px;
	font-family: NeoSansArabic-Bold, Arial, sans-serif;
}

.BreakNewsContent {
	float: right;
	font-weight: bold;
	color: var(--text);
	width: 100%;
	flex: 1;
	border-radius: 25px;
	overflow: hidden;
	padding: 5px 6px;
	line-height: 30px;
	display: flex;
	font-family: NeoSansArabic-Bold, Arial, sans-serif;
}

.BreakNews .BreakNewsTitle:after {
	content: "";
	background: linear-gradient(45deg, #ffffff00 0%, #ffffff10 100%);
	position: absolute;
	top: 0;
	right: 100%;
	left: 0;
	width: 80px;
	height: 35px;
	z-index: 9;
	margin-right: 5px;
}

.BreakNewsContent marquee {
	display: block;
	width: 100%;
	direction: ltr;
}

.secTop {
	margin-bottom: 20px;
}
.dleate {
	    position: absolute;
    inset: 0;
    width: 36px;
    height: 36px;
    background: rgb(192 57 43);
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    display: grid;
    place-items: center;
    pointer-events: auto;
    right: -176px;
}

@media only screen and (max-width: 1080px) {
	.BreakNewsBa {

		width: 100%;
		flex: 0 0 100%;
		margin-bottom: 10px;
	}
}

@media only screen and (max-width: 480px) {
	.BreakNews .BreakNewsTitle {
		float: right;
		display: block;
		width: 100px;
		text-align: center;
		color: var(--text);
		font-weight: 500;
		background: #029dbc;
		line-height: 23;
		position: absolute;
	}

	.BreakNewsContent {
		float: right;
		font-weight: bold;
		color: var(--text);
		width: 100%;
		flex: 1;
		border-radius: 25px;
		overflow: hidden;
		padding: 5px 6px;
		line-height: 30px;
		display: flex;
		padding-right: 105px;
	}
}

/* مؤشر يومض بعد النص */
#marquee {
	display: block;
	white-space: normal;
	width: 100%;
}

#marquee::after {
	content: "|";
	animation: blink .9s steps(1, end) infinite;
}

@keyframes blink {
	50% {
		opacity: 0
	}
}

.page-entry {
	background: #bdc4ec0f;
	color: var(--text);
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
	padding: 30px 26px;
	margin: 40px auto;
}

.page-entry h1 {
	font-size: 22px;
	margin-bottom: 10px;
}

.page-entry h2 {
	font-size: 22px;
	margin: 1.2em 0 .5em;
}

.page-entry h3 {
	font-size: 18px;
	margin: 1em 0 .5em;
}

.page-entry p {
	line-height: 1.8;
	margin: .6em 0;
}

.page-entry ul {
	margin: .8em 0 .8em 1.4em;
}

.page-entry a {
	color: var(--wc-accent);
	text-decoration: none;
}

.page-entry a:hover {
	text-decoration: underline;
}

.page-entry hr {
	border-color: rgba(189, 196, 236, .11);
	margin: 30px 0;
}

/********************************/
/********************************/
/********************************/
/************ Dark **************/
/********************************/
/********************************/
/********************************/
body.dark {
	--main-bg-color: #f4f4f5;
	--back-color-1: #fff;
	--text: #1c1e20;

}


body.dark .BreakNewsBa {
	background: linear-gradient(45deg, #ffffff00 0, #00000017 100%);
}

body.dark .pinned-card {
	background: #ffffff;
}

body.dark .pinned-card .badge.light-soft {
	background: #f4f4f5;
	color: #000000;
}

body.dark .page-entry {
	background: #ffffff0f;
}

body.dark .site-footer {
	background-color: #1e1e1e;
	color: #ffffff;
}

body.dark .anime-card-container {
	background-color: #f4f4f5;
}

body.dark .hover .overlay {
	background: linear-gradient(to top, rgb(2 148 178) 0%, transparent 50%, transparent 100%);
}

body.dark .triangle-down-black {
	border-top: 45px solid #f9f9fa;
}

body.dark .scrollup path {
	fill: #fff !important;
}

body.dark .anime-card-title:hover::before {
	border-color: #1c1e20 transparent transparent transparent;
}

body.dark path {
	fill: #ffffff;
}

body.dark .pagination>ul>li>* {
	background: #1e1e1e;
	color: #ffffff;
}

body.dark .dropdown-menu>li>a {
	color: #ffffff;

}

body.dark .SearchHead form input[type="text"] {
	color: #949cb0;
	background-color: #f4f4f5;
	border: 1px solid #f4f4f5;
}

body.dark .SearchHead form :focus {
	border-color: #394155;
	box-shadow: inset 0 1px 1px #fff, 0 0 8px #fff;
}

#tme-alert {
	display: none;
	position: fixed;
	bottom: 15px;
	right: 15px;
	background: linear-gradient(#05d3e7, #009ab9);
	color: #fff;
	padding: 15px 20px;
	border-radius: 16px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
	z-index: 9999;
	font-family: 'Segoe UI', sans-serif;
	max-width: 340px;
	transition: opacity 0.3s ease;
	width: 100%;
	padding-right: 35px;
}

#tme-alert button {
	position: absolute;
	top: 6px;
	right: 10px;
	background: transparent;
	border: none;
	font-size: 18px;
	color: #fff;
	cursor: pointer;
}

#tme-alert strong {
	display: block;
	margin-bottom: 6px;
	font-size: 17px;
	font-weight: bold;
}

#tme-alert p {
	font-size: 14px;
	margin: 0;
	font-weight: bold;

}

#tme-alert a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	background: #ffffff;
	padding: 6px 10px;
	border-radius: 8px;
	color: #000000;
	font-weight: bold;
	text-decoration: none;
	transition: background 0.2s ease;
	float: left;
}

#tme-alert svg {
	width: 18px;
	height: 18px;
	fill: #fff;
}

#tme-alert a path,
#tme-alert a svg {
	fill: #000;
}

a.tme-btn.tme-tg {
	margin-left: 5px;
}

a.tme-btn.tme-tg i {
	font-size: 18px;
}

/********************************/
/********************************/
/********************************/
/* === Login & Register (deduplicated) === */
.LoginMaster,
.RegisterMaster {
	direction: rtl;
	display: grid;
	place-items: center;
	min-height: 100dvh;
	padding: 24px;
}

.LoginMaster .form-ui,
.RegisterMaster .form-ui {
	width: min(100%, 460px);
	background: #111827;
	border: 1px solid #334155;
	border-radius: 16px;
	padding: 28px 24px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
	position: relative;
	isolation: isolate;
	overflow: clip;
}

.LoginMaster .form-ui::before,
.RegisterMaster .form-ui::before {
	content: "";
	position: absolute;
	inset: -30% -10% auto auto;
	width: 220px;
	height: 220px;
	border-radius: 999px;
	background: radial-gradient(closest-side, rgba(11, 155, 182, .20), transparent 70%);
	filter: blur(12px);
	opacity: .35;
	pointer-events: none;
}

.LoginMaster .FormTitle,
.RegisterMaster .FormTitle {
	margin: 0 0 12px;
	font-size: clamp(22px, 2.2vw + 8px, 28px);
	font-weight: 800;
	letter-spacing: .2px;
}

.RegisterMaster .subtitle {
	margin: 0 0 16px;
	color: #9ca3af;
	font-size: .96rem;
}

.LoginMaster .msg-reg,
.LoginMaster .user-msg,
.RegisterMaster .msg-reg,
.RegisterMaster .user-msg {
	min-height: 22px;
	margin: 8px 0 4px;
	font-size: .92rem;
	color: #ef4444;
}

.LoginMaster .form-ui label,
.RegisterMaster .form-ui label {
	display: block;
	margin: 14px 2px 6px;
	font-size: .95rem;
	color: #9ca3af;
}

.RegisterMaster .form-ui label p {
	margin: 6px 0 0;
	font-size: .88rem;
	color: #94a3b8;
}

.LoginMaster .form-ui input[type="text"],
.LoginMaster .form-ui input[type="password"],
.RegisterMaster .form-ui input[type="text"],
.RegisterMaster .form-ui input[type="email"],
.RegisterMaster .form-ui input[type="password"] {
	width: 100%;
	background: #1f2937;
	color: #e5e7eb;
	border: 1px solid #334155;
	border-radius: 12px;
	padding: 12px 14px;
	outline: none;
	transition: border .2s ease, box-shadow .2s ease, transform .06s ease;
}

.LoginMaster .form-ui input::placeholder,
.RegisterMaster .form-ui input::placeholder {
	color: #94a3b8;
	opacity: .9;
}

.LoginMaster .form-ui input:focus,
.RegisterMaster .form-ui input:focus {
	border-color: #0b9bb6;
	box-shadow: 0 0 0 6px rgba(11, 155, 182, .20);
}

.LoginMaster .form-ui .error,
.RegisterMaster .form-ui .error {
	border-color: #ef4444 !important;
	box-shadow: 0 0 0 6px rgba(239, 68, 68, .2) !important;
}

.LoginMaster .btn,
.LoginMaster .LoginSubmit,
.RegisterMaster .btn,
.RegisterMaster .yal-bg {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	border: none;
	cursor: pointer;
	background: #0b9bb6;
	color: #fff;
	padding: 12px 16px;
	border-radius: 12px;
	font-weight: 700;
	font-size: 1rem;
	margin-top: 16px;
	transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
	box-shadow: 0 6px 18px rgba(11, 155, 182, .35);
}

.LoginMaster .LoginSubmit,
.RegisterMaster .yal-bg {
	float: none !important;
}

.LoginMaster .btn:hover,
.LoginMaster .LoginSubmit:hover,
.RegisterMaster .btn:hover,
.RegisterMaster .yal-bg:hover {
	background: #087e97;
	transform: translateY(-1px);
}

.LoginMaster .btn:active,
.LoginMaster .LoginSubmit:active,
.RegisterMaster .btn:active,
.RegisterMaster .yal-bg:active {
	transform: translateY(0);
}

.LoginMaster .login-option,
.RegisterMaster .login-option {
	margin-top: 18px;
	text-align: center;
	color: #9ca3af;
}

.LoginMaster .login-option a,
.RegisterMaster .login-option a {
	color: #60a5fa;
	text-decoration: none;
	font-weight: 700;
	border-bottom: 1px dashed rgba(96, 165, 250, .35);
}

.LoginMaster .login-option a:hover,
.RegisterMaster .login-option a:hover {
	text-decoration: underline;
}

.LoginMaster .rounded,
.RegisterMaster .rounded {
	border-radius: 12px !important;
}

.LoginMaster .clr,
.RegisterMaster .clr {
	display: none;
}

.RegisterMaster .terms {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 8px;
	color: #9ca3af;
	font-size: .94rem;
}

.RegisterMaster .terms input[type="checkbox"] {
	inline-size: 18px;
	block-size: 18px;
	margin-top: 2px;
	accent-color: #0b9bb6;
}

.RegisterMaster .terms a {
	color: #60a5fa;
	text-decoration: none;
	border-bottom: 1px dashed rgba(96, 165, 250, .35);
	font-weight: 700;
}

.RegisterMaster .terms a:hover {
	text-decoration: underline;
}

body.page-template-register .nolog {
	text-align: center;
	margin: 24px auto;
	padding: 12px 16px;
	border-radius: 12px;
	width: min(100%, 460px);
	background: #111827;
	border: 1px solid #334155;
	color: #e5e7eb;
}

@media (prefers-color-scheme: light) {

	.LoginMaster .form-ui,
	.RegisterMaster .form-ui {
		background: #ffffff;
		border-color: #e2e8f0;
		box-shadow: 0 8px 24px rgba(2, 6, 23, .08);
	}

	.LoginMaster .form-ui label,
	.RegisterMaster .form-ui label {
		color: #64748b;
	}

	.RegisterMaster .form-ui label p {
		color: #64748b;
		opacity: .9;
	}

	.LoginMaster .form-ui input[type="text"],
	.LoginMaster .form-ui input[type="password"],
	.RegisterMaster .form-ui input[type="text"],
	.RegisterMaster .form-ui input[type="email"],
	.RegisterMaster .form-ui input[type="password"] {
		background: #f8fafc;
		color: #0f172a;
		border-color: #e2e8f0;
	}

	.LoginMaster .form-ui input:focus,
	.RegisterMaster .form-ui input:focus {
		border-color: #0b9bb6;
		box-shadow: 0 0 0 6px rgba(11, 155, 182, .20);
	}

	body.page-template-register .nolog {
		background: #ffffff;
		border-color: #e2e8f0;
		color: #0f172a;
	}
}

/* === Profile & Edit Profile === */
.userProfile {
	direction: rtl;
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 24px;
	margin: 0 auto;
	width: min(100%, 1000px);
	padding: 20px 0;
}

.userProfile .profile-content.right,
.userProfile .profile-content.left {
	background: #111827;
	border: 1px solid #334155;
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
	color: #e5e7eb;
}

.userProfile .profile-content.right figure {
	margin: 0 auto 12px;
	width: 120px;
	height: 120px;
	border-radius: 999px;
	overflow: hidden;
	border: 2px solid #334155;
}

.userProfile .profile-content.right figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	background: #0f1420;
}

.userProfile .username {
	margin: 8px 0 16px;
	color: #e5e7eb;
	font-weight: 800;
	font-size: 1.15rem;
}

.userProfile .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin-top: 10px;
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid transparent;
	background: #0b9bb6;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	transition: transform .06s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
	box-shadow: 0 6px 18px rgba(11, 155, 182, .35);
}

.userProfile .btn:hover {
	background: #087e97;
	transform: translateY(-1px);
}

.userProfile .btn:active {
	transform: translateY(0);
}

.userProfile .profile-content.left dl {
	margin: 0;
}

.userProfile .profile-content.left dt {
	color: #9ca3af;
	margin-top: 10px;
}

.userProfile .profile-content.left dd {
	margin: 6px 0 12px;
	font-weight: 700;
	color: #e5e7eb;
}

.RegisterMaster.EditProfile {
	direction: rtl;
	display: grid;
	place-items: center;
	padding: 0 24px 36px;
	min-height: 0dvh;
}

.RegisterMaster.EditProfile .form-ui {
	width: min(100%, 1000px);
	background: #111827;
	border: 1px solid #334155;
	border-radius: 16px;
	padding: 28px 24px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
	position: relative;
	isolation: isolate;
	overflow: clip;
}

.RegisterMaster.EditProfile .form-ui::before {
	content: "";
	position: absolute;
	inset: -30% -10% auto auto;
	width: 220px;
	height: 220px;
	border-radius: 999px;
	background: radial-gradient(closest-side, rgba(11, 155, 182, .20), transparent 70%);
	filter: blur(12px);
	opacity: .35;
	pointer-events: none;
}

.RegisterMaster.EditProfile .FormTitle {
	margin: 0 0 18px;
	font-size: clamp(22px, 2.2vw + 8px, 28px);
	font-weight: 800;
	letter-spacing: .2px;
	color: #e5e7eb;
}

.RegisterMaster.EditProfile .msg-reg {
	min-height: 22px;
	margin: 8px 0 4px;
	font-size: .92rem;
	color: #ef4444;
}

.RegisterMaster.EditProfile label {
	display: block;
	margin: 14px 2px 6px;
	font-size: .95rem;
	color: #9ca3af;
}

.RegisterMaster.EditProfile input[type="text"],
.RegisterMaster.EditProfile input[type="email"],
.RegisterMaster.EditProfile input[type="password"] {
	width: 100%;
	background: #1f2937;
	color: #e5e7eb;
	border: 1px solid #334155;
	border-radius: 12px;
	padding: 12px 14px;
	outline: none;
	transition: border .2s ease, box-shadow .2s ease, transform .06s ease;
}

.RegisterMaster.EditProfile input::placeholder {
	color: #94a3b8;
	opacity: .9;
}

.RegisterMaster.EditProfile input:focus {
	border-color: #0b9bb6;
	box-shadow: 0 0 0 6px rgba(11, 155, 182, .20);
}

.RegisterMaster.EditProfile .error {
	border-color: #ef4444 !important;
	box-shadow: 0 0 0 6px rgba(239, 68, 68, .2) !important;
}

.RegisterMaster.EditProfile .user-msg {
	min-height: 22px;
	margin-top: 8px;
	font-size: .92rem;
	color: #ef4444;
}

.RegisterMaster.EditProfile .submitChanges {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	border: none;
	cursor: pointer;
	background: #0b9bb6;
	color: #fff;
	padding: 12px 16px;
	border-radius: 12px;
	font-weight: 700;
	font-size: 1rem;
	margin-top: 16px;
	transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
	box-shadow: 0 6px 18px rgba(11, 155, 182, .35);
}

.RegisterMaster.EditProfile .submitChanges:hover {
	background: #087e97;
	transform: translateY(-1px);
}

.RegisterMaster.EditProfile .submitChanges:active {
	transform: translateY(0);
}

.RegisterMaster.EditProfile .rounded {
	border-radius: 12px !important;
}

.RegisterMaster.EditProfile .clr {
	display: none;
}

.RegisterMaster.EditProfile .alert.success {
	background: rgba(11, 155, 182, .15);
	border: 1px solid #0b9bb6;
	color: #0b9bb6;
	padding: 10px 12px;
	border-radius: 10px;
}

@media (max-width:920px) {
	.userProfile {
		grid-template-columns: 1fr;
		width: min(100%, 720px);
	}

	.userProfile .profile-content.right,
	.userProfile .profile-content.left {
		width: 100%;
	}
}

@media (max-width:420px) {
	.RegisterMaster.EditProfile .form-ui {
		padding: 22px 16px;
		border-radius: 14px;
	}

	.RegisterMaster.EditProfile .FormTitle {
		font-size: 22px;
	}
}

@media (prefers-color-scheme: light) {

	.userProfile .profile-content.right,
	.userProfile .profile-content.left,
	.RegisterMaster.EditProfile .form-ui {
		background: #ffffff;
		border-color: #e2e8f0;
		box-shadow: 0 8px 24px rgba(2, 6, 23, .08);
	}

	.userProfile .profile-content.left dt {
		color: #64748b;
	}

	.userProfile .profile-content.left dd {
		color: #0f172a;
	}

	.userProfile .username {
		color: #0f172a;
	}

	.RegisterMaster.EditProfile label {
		color: #64748b;
	}

	.RegisterMaster.EditProfile input[type="text"],
	.RegisterMaster.EditProfile input[type="email"],
	.RegisterMaster.EditProfile input[type="password"] {
		background: #f8fafc;
		color: #0f172a;
		border-color: #e2e8f0;
	}

	.RegisterMaster.EditProfile input:focus {
		border-color: #0b9bb6;
		box-shadow: 0 0 0 6px rgba(11, 155, 182, .20);
	}
}

/* === Favourites === */
.singleFav {
	direction: rtl;
	padding: 0 24px 36px;
}

.singleFav .ArcPage {
	width: min(100%, 1100px);
	margin: 24px auto 0;
	background: #111827;
	border: 1px solid #334155;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
	padding: 24px;
}

.singleFav .FormTitle {
	margin: 0 0 12px;
	font-weight: 800;
	font-size: clamp(22px, 2.2vw + 8px, 28px);
	color: #e5e7eb;
}

.singleFav .BlocksHolder {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
}

.singleFav .BlocksHolder>* {
	float: none !important;
	background: #0f172a;
	border: 1px solid #334155;
	border-radius: 14px;
	overflow: hidden;
	transition: transform .06s ease, box-shadow .2s ease, border-color .2s ease;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}

.singleFav .BlocksHolder>a {
	display: block;
	text-decoration: none;
	color: inherit;
}

.singleFav .BlocksHolder img {
	display: block;
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.singleFav .BlocksHolder .content,
.singleFav .BlocksHolder .post-content,
.singleFav .BlocksHolder .block-content,
.singleFav .BlocksHolder>*>div {
	padding: 12px 14px;
}

.singleFav .BlocksHolder h3,
.singleFav .BlocksHolder .title {
	margin: 0 0 8px;
	font-size: 1.02rem;
	line-height: 1.5;
	color: #e5e7eb;
}

.singleFav .BlocksHolder .meta,
.singleFav .BlocksHolder .post-meta {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	font-size: .86rem;
	color: #9ca3af;
}

.singleFav .BlocksHolder .cat,
.singleFav .BlocksHolder .badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(11, 155, 182, .12);
	color: #0b9bb6;
	font-weight: 700;
	font-size: .82rem;
}

.singleFav .BlocksHolder .btn,
.singleFav .BlocksHolder .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 10px;
	background: #0b9bb6;
	color: #fff;
	border: none;
	cursor: pointer;
	text-decoration: none;
	font-weight: 700;
	font-size: .92rem;
	transition: transform .06s ease, background .2s ease, box-shadow .2s ease;
	box-shadow: 0 6px 18px rgba(11, 155, 182, .35);
}

.singleFav .BlocksHolder .btn:hover,
.singleFav .BlocksHolder .button:hover {
	background: #087e97;
	transform: translateY(-1px);
}

.singleFav .BlocksHolder>*:hover {
	transform: translateY(-2px);
	border-color: #475569;
	box-shadow: 0 14px 28px rgba(0, 0, 0, .26);
}

.singleFav .alert.info {
	background: rgba(11, 155, 182, .12);
	border: 1px solid #0b9bb6;
	color: #0b9bb6;
	padding: 10px 12px;
	border-radius: 12px;
	font-weight: 700;
}

@media (max-width:540px) {
	.singleFav .ArcPage {
		padding: 18px;
		border-radius: 14px;
	}

	.singleFav .BlocksHolder {
		grid-template-columns: 1fr;
	}
}

@media (prefers-color-scheme: light) {
	.singleFav .ArcPage {
		background: #ffffff;
		border-color: #e2e8f0;
		box-shadow: 0 8px 24px rgba(2, 6, 23, .08);
	}

	.singleFav .FormTitle {
		color: #0f172a;
	}

	.singleFav .BlocksHolder>* {
		background: #ffffff;
		border-color: #e2e8f0;
		box-shadow: 0 6px 18px rgba(2, 6, 23, .06);
	}

	.singleFav .BlocksHolder h3,
	.singleFav .BlocksHolder .title {
		color: #0f172a;
	}

	.singleFav .BlocksHolder .meta,
	.singleFav .BlocksHolder .post-meta {
		color: #64748b;
	}

	.singleFav .alert.info {
		background: rgba(11, 155, 182, .10);
		border-color: #0b9bb6;
		color: #0b9bb6;
	}
}

/* minor fix */
.RegisterMaster.EditProfile form#register {
	width: min(100%, 1000px);
}

.anime-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
	align-items: center;
	margin: 10px 0 14px;
}

.btn-icon {
	-webkit-tap-highlight-color: transparent;
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: 8px 12px;
	border: 1px solid #334155;
	border-radius: 10px;
	background: #0f172a;
	color: #e5e7eb;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease, color .2s ease, transform .06s ease, box-shadow .2s ease;
	box-shadow: 0 6px 18px rgba(2, 6, 23, .25);
}

.btn-icon i {
	font-size: 16px;
}

.btn-icon:hover {
	background: #111827;
	transform: translateY(-1px);
}

.btn-icon:active {
	transform: translateY(0);
}

.btn-icon:focus-visible {
	outline: none;
	box-shadow: 0 0 0 4px rgba(59, 130, 246, .25);
}

.btn-icon[disabled] {
	opacity: .6;
	cursor: not-allowed;
	transform: none;
}

.btn-icon.fav i {
	color: #f87171;
}

.btn-icon.fav.active {
	background: rgba(239, 68, 68, .14);
	border-color: #ef4444;
	color: #fecaca;
	box-shadow: 0 6px 18px rgba(239, 68, 68, .28);
}

.btn-icon.fav.active i {
	color: #ef4444;
}

.btn-icon.watchlater i {
	color: #7dd3fc;
}

.btn-icon.watchlater.active {
	background: rgba(11, 155, 182, .14);
	border-color: #0b9bb6;
	color: #e0f2fe;
	box-shadow: 0 6px 18px rgba(11, 155, 182, .28);
}

.btn-icon.watchlater.active i {
	color: #0b9bb6;
}

.anime-actions .inline-msg {
	display: none !important;
	padding: 8px 10px !important;
	border-radius: 8px !important;
	font-size: 14px !important;
	border: 1px solid #22c55e !important;
	background: rgba(34, 197, 94, .12) !important;
	color: #dcfce7 !important;
	width: 100%;
}

.anime-actions .inline-msg.show {
	display: block !important;
}

@media (prefers-color-scheme: light) {
	.btn-icon {
		background: #ffffff;
		border-color: #e2e8f0;
		color: #0f172a;
		box-shadow: 0 6px 16px rgba(2, 6, 23, .06);
	}

	.btn-icon:hover {
		background: #f8fafc;
	}

	.btn-icon.fav.active {
		background: rgba(239, 68, 68, .10);
		border-color: #ef4444;
		color: #7f1d1d;
		box-shadow: 0 6px 16px rgba(239, 68, 68, .20);
	}

	.btn-icon.watchlater.active {
		background: rgba(11, 155, 182, .10);
		border-color: #0b9bb6;
		color: #0b4c58;
		box-shadow: 0 6px 16px rgba(11, 155, 182, .20);
	}

	.anime-actions .inline-msg {
		border-color: #22c55e !important;
		background: rgba(34, 197, 94, .10) !important;
		color: #166534 !important;
	}
}

.users ul {
	display: none;
	min-width: 180px;
	margin: 0;
	padding: 0;
	transition: .35s all ease;
	z-index: 9999999;
	position: absolute;
	top: 100%;
	right: auto;
	left: auto;
	transform: translate(50%);
	text-align: center;
	box-shadow: 0 11px 20px #0c2b4536;
	background: #fff;
	border-radius: 0.5rem;
	overflow: hidden;
}

.users.show ul {
	display: block;
}

.users.show ul li {
	transition: .3s;
	display: block;
	width: 100%;
}

.users ul li a {
	padding: 10px 10px;
	line-height: 1;
	display: block;
	text-align: right;
	font-size: 12px;
	color: #333 !important;
	border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.users ul li a i {
	margin-left: 5px;
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #f0f0f0;
	color: #1e1e1e;
	font-size: 14px;
	cursor: pointer;
}

#ep-comments .one-comment {
	border: 1px solid #2c2f3a;
	border-radius: 10px;
	padding: 10px;
	margin-bottom: 10px;
	background: #131722
}

#ep-comments .c-head {
	display: flex;
	gap: 10px;
	align-items: center
}

#ep-comments .c-actions {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-top: 6px
}

#ep-comments .c-actions button {
	background: #1a2030;
	border: 1px solid #2c2f3a;
	border-radius: 6px;
	color: #ddd;
	padding: 4px 8px;
	cursor: pointer
}

#ep-comments .children {
	margin: 10px 0 0 40px
}

/* ====== Episode Comments Area ====== */
.episode-comments-area,
#ep-comments {
	background: #0f1420;
	border: 1px solid #222836;
	border-radius: 14px;
	padding: 16px;
	margin: 24px 0;
	direction: rtl;
	color: #e6eaf2;
}

#ep-comments .area-title {
	margin: 0 0 14px 0;
	font-size: 18px;
	font-weight: 700;
	color: #f1f4fa;
}

/* ====== Comment Form ====== */
#ep-comments .comment-form {
	background: #111728;
	border: 1px solid #222836;
	border-radius: 12px;
	padding: 12px;
}

#ep-comments .comment-form textarea {
	width: 100%;
	min-height: 96px;
	resize: vertical;
	background: #0e1320;
	color: #e6eaf2;
	border: 1px solid #2c3447;
	border-radius: 10px;
	padding: 10px 12px;
	outline: none;
	transition: border-color .15s ease, box-shadow .15s ease;
	font-size: 14px;
}

#ep-comments .comment-form textarea:focus {
	border-color: #3a8ef6;
	box-shadow: 0 0 0 3px rgba(58, 142, 246, .15);
}

#ep-comments #cmt-submit {
	background: #3a8ef6;
	color: #fff;
	border: 0;
	border-radius: 10px;
	padding: 8px 14px;
	font-weight: 600;
	cursor: pointer;
	transition: opacity .15s ease, transform .04s ease;
}

#ep-comments #cmt-submit:hover {
	opacity: .95;
}

#ep-comments #cmt-submit:active {
	transform: translateY(1px);
}

#ep-comments #cmt-cancel-reply {
	background: #1a2234;
	color: #cfd6e6;
	border: 1px solid #2c3447;
	border-radius: 10px;
	padding: 8px 12px;
	margin-inline-start: 8px;
	cursor: pointer;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}

#ep-comments #cmt-cancel-reply:hover {
	background: #202a40;
	color: #fff;
	border-color: #3a8ef6;
}

/* inline message under form */
#ep-comments #cmt-msg {
	border-radius: 10px;
	font-size: 14px;
}

/* ====== One Comment Card ====== */
#ep-comments .one-comment {
	background: #131a2b;
	border: 1px solid #222b3f;
	border-radius: 12px;
	padding: 12px;
	margin: 12px 0;
}

#ep-comments .c-head {
	display: flex;
	align-items: center;
	gap: 10px;
}

#ep-comments .c-head img.avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #0f1420;
}

#ep-comments .c-head strong {
	color: #f1f4fa;
	font-weight: 700;
	font-size: 14px;
}

#ep-comments .c-head .date {
	font-size: 12px;
	color: #8f9bb3;
	margin-top: 2px;
}

#ep-comments .c-body {
	margin-top: 8px;
	line-height: 1.8;
	color: #d9deea;
	word-wrap: break-word;
	white-space: pre-wrap;
}

/* ====== Actions (reply / like / dislike) ====== */
#ep-comments .c-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
	flex-wrap: wrap;
}

#ep-comments .c-actions a.cmt-reply {
	color: #9ec2ff;
	text-decoration: none;
	font-weight: 600;
	padding: 4px 6px;
	border-radius: 8px;
	transition: background .15s ease, color .15s ease;
}

#ep-comments .c-actions a.cmt-reply:hover {
	background: #1a2440;
	color: #cfe1ff;
}

#ep-comments .c-actions button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #161f34;
	color: #cfd6e6;
	border: 1px solid #28324a;
	border-radius: 10px;
	padding: 6px 10px;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease, color .15s ease, transform .04s ease;
}

#ep-comments .c-actions button:hover {
	background: #1b2742;
	border-color: #35508f;
	color: #fff;
}

#ep-comments .c-actions button:active {
	transform: translateY(1px);
}

#ep-comments .c-actions .num {
	font-weight: 700;
	font-size: 13px;
	min-width: 18px;
	text-align: center;
}

/* Like / Dislike specific accents */
#ep-comments .c-actions .cmt-like:hover {
	border-color: #27ae60;
	box-shadow: 0 0 0 2px rgba(39, 174, 96, .12) inset;
}

#ep-comments .c-actions .cmt-dislike:hover {
	border-color: #ff6b6b;
	box-shadow: 0 0 0 2px rgba(255, 107, 107, .12) inset;
}

/* ====== Nested replies ====== */
#ep-comments .children {
	margin-top: 10px;
	border-inline-start: 2px solid #22304f;
	padding-inline-start: 14px;
}

@media (max-width: 640px) {
	#ep-comments .children {
		border-inline-start: 1px dashed #22304f;
		padding-inline-start: 10px;
	}
}

/* ====== Empty state / info box ====== */
#ep-comments .alert.info {
	background: #eef5ff;
	border: 1px solid #a6c6ff;
	color: #0b4b8a;
	border-radius: 10px;
	padding: 10px 12px;
}

/* ====== Utilities ====== */
#ep-comments .rounded {
	border-radius: 10px;
}

#ep-comments .btn {
	font-size: 14px;
}

#ep-comments .yal-bg {
	background: #3a8ef6;
	color: #fff;
}

/* Improve focus-visible for accessibility */
#ep-comments a:focus-visible,
#ep-comments button:focus-visible,
#ep-comments textarea:focus-visible {
	outline: 2px solid #3a8ef6;
	outline-offset: 2px;
	border-radius: 8px;
}

/********************************/
/********************************/
/********************************/

/********************************/
/********************************/
/********************************/
/************ Dark **************/
/********************************/
/********************************/
/********************************/
/* احترام تفضيل تقليل الحركة */
@media (prefers-reduced-motion: reduce) {

	.social-single .btn,
	.social-single a.btn {
		transition: none;
	}
}


@media (max-width: 1400px) {
	.SearchInnerList .anime-card-themex {
		width: calc(100% / 3);
	}
}

@media (max-width: 991.98px) {
	.episode-watch-conteiner {
		display: flex;
		flex-wrap: wrap;
		flex-direction: column-reverse;
	}

	.social-single .btn {
		width: auto;
		margin: 4px;
	}

	.social-single {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		justify-content: center;
	}

	.SearchHead {
		justify-content: center;
		left: 0px;
		right: 0px;
	}

	.download-list .server-name {
		font-size: 12px;
	}

	.download-list .area-title {
		font-size: 16px;
	}

	.backthemex {
		height: 60vw;
	}

	.episode-watch-conteiner .nav-tabs>li {
		width: calc(100% / 3);
	}


}



/* ≤ 992px — تابلت: 3 أعمدة */
@media (max-width:991.98px) {
	.episodes-card-container {
		flex-basis: calc(33.333% - 8px);
		max-width: calc(33.333% - 8px);
	}

	.sz-play-button:before,
	.sz-play-button:after {
		width: 50px;
		height: 50px;
	}

	.sz-play-button {
		justify-content: center;
	}

	.sz-play-button i {
		font-size: 25px;

	}

	.copyrights {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		gap: 1.4vw;
	}

	.container-sm {
		padding: 20px 0px;
	}

	.anime-grid .anime-card-themex {
		width: calc(100% / 3);
		padding: 0 5px;

	}
}

/* =========================
   Anime Cards
========================= */

/* الكارت */
.pinned-card {
	display: flex;
	flex-direction: column;
	position: relative;
	background: transparent;
	padding: 0;
	border-radius: 14px;
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease;
}

/* Hover */
.pinned-card:hover {
	transform: translateY(-4px);
}

/* الصورة */
.pinned-card .image {
	width: 100%;
	position: relative;
	overflow: hidden;
	border-radius: 14px;

	/* نسبة موحدة لكل الصور */
	aspect-ratio: 2 / 3;

	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;

	background-color: #111827;
}

/* Gradient */
.pinned-card .image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(0,0,0,.88) 0%,
		rgba(0,0,0,.45) 35%,
		rgba(0,0,0,0) 70%
	);
	pointer-events: none;
}










/* طبقة الهوفر */
.pinned-card .play-overlay {
	position: absolute;
	inset: 0;

	display: flex;
	align-items: center;
	justify-content: center;

	background-color: rgba(19, 23, 34, 0.45);

	opacity: 0;
	transition: opacity .25s ease;

	z-index: 5;
}

/* زر التشغيل */
.pinned-card .play-overlay i {
	width: 58px;
	height: 58px;

	display: flex;
	align-items: center;
	justify-content: center;

	border-radius: 50%;

	background: rgba(255,255,255,.15);
	backdrop-filter: blur(5px);

	color: #fff;
	font-size: 22px;

	border: 2px solid rgba(255,255,255,.35);

	transform: scale(.85);
	transition: all .25s ease;
}

/* عند المرور */
.pinned-card:hover .play-overlay {
	opacity: 1;
}

.pinned-card:hover .play-overlay i {
	transform: scale(1);
	background: rgba(2,148,178,.9);
	border-color: rgba(255,255,255,.7);
}







/* الوضع الصباحي */
body.dark .pinned-card .image::after {
	background: linear-gradient(
		to top,
		rgb(2 148 178) 0%,
		transparent 50%,
		transparent 100%
	);
}

/* جديد */
.pinned-card .new-episode {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #7f5af0;
	color: #fff;
	font-size: 11px;
	font-weight: bold;
	padding: 4px 8px;
	border-radius: 6px;
	z-index: 3;
	line-height: 1.2;
}

/* نوع الأنمي */
.pinned-card .anime-type-badge {
	position: absolute;
	top: 10px;
	left: 10px;

	background: linear-gradient(135deg, #ffb84d, #ff8800);

	color: #000;
	font-size: 11px;
	padding: 4px 8px;
	border-radius: 6px;
	font-weight: bold;
	z-index: 3;
}

/* المعلومات */
.pinned-card .info {
	position: absolute;
	right: 0;
	left: 0;
	bottom: 0;
	z-index: 2;

	display: flex;
	flex-direction: column;
	gap: 6px;

	padding: 12px;
}

/* العنوان */
.pinned-card .info h3 {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
    color: #fff;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    overflow-wrap: break-word;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .7);
    min-height: calc(1.5em * 2);
}

/* روابط */
.pinned-card .info a {
	text-decoration: none;
	color: inherit;
}

/* المعلومات الصغيرة */
.pinned-card .search-statics {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	order: 1;
}

/* البادجات */
.pinned-card .search-statics span {
	background: rgba(19, 23, 34, 0.72);
	backdrop-filter: blur(4px);

	padding: 4px 7px;
	border-radius: 6px;

	font-size: 11px;
	line-height: 1.2;
	color: #fff;
}

/* زر الحلقة */
.pinned-card .badge.light-soft {
	order: 2;

	background: #131722;
	color: #fff;

	padding: 5px 9px;
	font-size: 12px;

	border-radius: 7px;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: fit-content;

	margin-bottom: 4px;
}

/* العنوان آخر شيء */
.pinned-card .info > a:first-child {
	order: 3;
}


/* =========================
   Grid Desktop
========================= */

.themexblock {
	width: 20%;
	padding: 6px;
	box-sizing: border-box;
}

/* =========================
   Tablet
========================= */

@media (max-width: 991px) {

	.themexblock {
		width: 33.3333%;
		padding: 5px;
		box-sizing: border-box;
	}

	.pinned-card .info {
		padding: 10px;
	}

	.pinned-card .info h3 {
		font-size: 14px;
		line-height: 1.4;
	}
}

/* =========================
   Small Phones
========================= */

@media (max-width: 480px) {

	/* يبقى كرتين دائما */
	.themexblock {
		width: 50% !important;
		max-width: 50% !important;
		flex: 0 0 50% !important;

		padding: 4px;
	}

	/* الكارت */
	.pinned-card {
		border-radius: 10px;
	}

	/* الصورة */
	.pinned-card .image {
		border-radius: 10px;
	}

	/* المعلومات */
	.pinned-card .info {
		padding: 7px;
		gap: 3px;
	}

	/* العنوان */
	.pinned-card .info h3 {
		font-size: 11px;
		line-height: 1.3;
	}

	/* الإحصائيات */
	.pinned-card .search-statics {
		gap: 3px;
	}

	.pinned-card .search-statics span {
		font-size: 8px;
		padding: 2px 4px;
		border-radius: 4px;
	}

	/* زر الحلقة */
	.pinned-card .badge.light-soft {
		font-size: 8px;
		padding: 2px 5px;
		border-radius: 4px;
	}

	/* الشارات */
	.pinned-card .new-episode,
	.pinned-card .anime-type-badge {
		font-size: 8px;
		padding: 2px 5px;
		border-radius: 4px;
	}
}

/* =========================
   أيقونات المواسم
========================= */

.season-ربيع::before {
	content: "🌸";
	margin-left: 4px;
}

.season-صيف::before {
	content: "☀️";
	margin-left: 4px;
}

.season-خريف::before {
	content: "🍂";
	margin-left: 4px;
}

.season-شتاء::before {
	content: "❄️";
	margin-left: 4px;
}

/* أيقونة الوقت */
.pinned-card .anime-duration::before {
	content: "⏱";
	margin-left: 4px;
}





html {
    scroll-behavior: smooth;
}



.anime-related-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 16px;
    border-radius:10px;
    background:#1f2937;
    color:#fff !important;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
    transition:0.25s;
    margin-top:10px;
}

.anime-related-btn:hover{
    background:#374151;
    transform:translateY(-2px);
}

.anime-related-btn i{
    font-size:15px;
}




@media (max-width: 767px){

	.anime-grid .anime-card-themex{
		width: calc(100% / 2);
		padding: 0 6px;
	}

}




/* إخفاء nav بالكامل إذا معطل */
.owl-nav.disabled {
    display: none !important;
}

/* إخفاء dots إذا معطلة */
.owl-dots.disabled {
    display: none !important;
}

/* منع ظهور النص prev next */
.owl-prev,
.owl-next {
    font-size: 0 !important;
}


.owl-prev::before,
.owl-next::before{
    font-size:18px;
    color:#029dbc;
}

.owl-prev::before{
    content:"❮";
}

.owl-next::before{
    content:"❯";
}


.related-anime-section{
    margin-bottom: 30px;
}




/* إصلاح العرض عند العناصر القليلة */
.owl-stage{
    display:flex;
}




.main-section {
    padding: 25px 0;
    text-align: center;
}

.main-section h1,
.main-section h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.6;
    font-weight: 700;
}

@media (max-width: 767px) {
    .main-section {
        padding: 20px 0;
    }

    .main-section h1,
    .main-section h3 {
        font-size: 18px;
        line-height: 1.7;
    }
}










.search-page-title {
    text-align: center;
    margin: 0;
    padding: 24px 10px;
    font-size: 22px;
    line-height: 1.7;
    font-weight: 700;
    color: #0a0d14;
    font-family: DroidKufi-Regular, Arial, sans-serif;
}

.search-page-title span {
    color: #029dbc;
}

@media (max-width: 768px) {
    .search-page-title {
        font-size: 18px;
        padding: 20px 8px;
    }
}




.episode-archive-title {
    text-align: center;
    margin: 0;
    padding: 28px 10px;
    font-size: 22px;
    line-height: 1.7;
    font-weight: 700;
    color: #fff;
    font-family: DroidKufi-Regular, Arial, sans-serif;
}

@media (max-width: 768px) {
    .episode-archive-title {
        font-size: 18px;
        padding: 22px 8px;
    }
}



.related-seo-links{
    margin:15px 0 25px;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
}

.related-seo-label{
    font-weight:700;
}

.related-seo-links a{
    display:inline-block;
    padding:7px 12px;
    border-radius:20px;
    background:#1f2430;
    border:1px solid rgba(255,255,255,.08);
    font-size:13px;
    text-decoration:none;
}

.related-seo-links a:hover{
    opacity:.85;
}