/**
 * Drama Studio - Main Stylesheet & Design System
 * 
 * Version: 1.0.0
 * Design System: Dark Cinematic Streaming UI
 * Localization: Dual-script optimization (Latin + Khmer)
 * Accessibility: WCAG 2.1 AA Compliant
 */

/* ==========================================================================
   1. Design Tokens & CSS Custom Properties (Neati Cinema Design System)
   ========================================================================== */
:root {
	/* Typography Stacks (Dual-script Latin + Khmer Content Bold) */
	--font-sans: 'Content', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Khmer OS Content", sans-serif;
	--font-heading: 'Content', 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Khmer OS Content", sans-serif;
	
	/* Color Palette (Neati Cosmic Violet & Neon Accents) */
	--color-primary: #8B5CF6;
	--color-primary-hover: #7C3AED;
	--color-primary-rgb: 139, 92, 246;
	--color-secondary: #06B6D4;
	--color-secondary-rgb: 6, 182, 212;
	--color-accent-pink: #EC4899;
	
	--color-bg-base: #080713;
	--color-bg-base-rgb: 8, 7, 19;
	--color-bg-surface: #0E0D22;
	--color-bg-surface-rgb: 14, 13, 34;
	--color-bg-card: #13112C;
	--color-bg-card-rgb: 19, 17, 44;
	--color-bg-input: #1A173B;
	
	--color-text-main: #F9FAFB;
	--color-text-muted: #94A3B8;
	--color-text-faint: #64748B;
	
	--color-accent-gold: #FBBF24;
	--color-status-completed: #10B981;
	--color-border-subtle: rgba(var(--color-primary-rgb, 139, 92, 246), 0.18);
	--color-border-hover: rgba(var(--color-primary-rgb, 139, 92, 246), 0.6);

	/* Neati Signature Gradients */
	--grad-brand-neon: linear-gradient(90deg, #06B6D4 0%, #8B5CF6 35%, #FFFFFF 50%, #D946EF 65%, #06B6D4 100%);
	--grad-section-header: linear-gradient(90deg, rgba(var(--color-bg-surface-rgb, 14, 13, 34), 0.95) 0%, rgba(var(--color-bg-card-rgb, 19, 17, 44), 0.9) 100%);
	--grad-section-bar: linear-gradient(180deg, #06B6D4 0%, #A855F7 50%, #EC4899 100%);
	--grad-play-btn: linear-gradient(135deg, #9D1AFC 0%, #4F46E5 50%, #2EA6FC 100%);
	--grad-hero-ambient: radial-gradient(ellipse at 50% -20%, rgba(124, 58, 237, 0.28) 0%, rgba(var(--color-bg-base-rgb, 8, 7, 19), 0) 70%);

	/* Spacing Scale */
	--space-2xs: 0.25rem;
	--space-xs: 0.5rem;
	--space-sm: 0.75rem;
	--space-md: 1rem;
	--space-lg: 1.5rem;
	--space-xl: 2rem;
	--space-2xl: 3rem;
	--space-3xl: 4.5rem;

	/* Border Radius (Neati Curved Aesthetics) */
	--radius-xs: 4px;
	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 16px;
	--radius-xl: 22px;
	--radius-full: 9999px;

	/* Elevation & Shadows */
	--shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.4);
	--shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
	--shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.65);
	--shadow-glow: 0 0 24px rgba(139, 92, 246, 0.45);
	--shadow-neon-pink: 0 0 20px rgba(236, 72, 153, 0.4);
	--shadow-play: 0 8px 25px rgba(124, 58, 237, 0.55);

	/* Transitions */
	--transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
	--transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
	--transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

	/* Layout Dimensions */
	--container-max-width: 1320px;
	--header-height: 72px;
}

/* ==========================================================================
   2. Reset & Base HTML Elements
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

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

body {
	font-family: var(--font-sans);
	background-color: var(--color-bg-base);
	background-image: 
		radial-gradient(ellipse 90% 45% at 50% 0%, rgba(var(--color-primary-rgb, 139, 92, 246), 0.12) 0%, transparent 60%),
		radial-gradient(ellipse 60% 40% at 85% 45%, rgba(var(--color-secondary-rgb, 6, 182, 212), 0.05) 0%, transparent 50%),
		radial-gradient(ellipse 70% 50% at 15% 85%, rgba(var(--color-primary-rgb, 139, 92, 246), 0.06) 0%, transparent 60%);
	background-attachment: fixed;
	background-repeat: no-repeat;
	color: var(--color-text-main);
	line-height: 1.8;
	font-weight: 400;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* Accessible Skip Link */
.skip-link {
	position: absolute;
	top: -9999px;
	left: 1.5rem;
	background: var(--color-primary);
	color: #ffffff;
	padding: 0.75rem 1.25rem;
	font-weight: 700;
	z-index: 999999;
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-lg);
	text-decoration: none;
}

.skip-link:focus {
	top: 1.5rem;
}

/* Screen Reader Accessible Helper */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--color-bg-surface);
	border-radius: var(--radius-sm);
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: var(--color-text-main);
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 1rem;
	line-height: normal;
	padding: 1rem 1.5rem;
	text-decoration: none;
	top: 1rem;
	width: auto;
	z-index: 100000;
}

/* Universal Focus Visible Styling (A11y) */
:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 3px;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--transition-fast);
}

a:hover {
	color: var(--color-primary);
}

img,
svg,
video,
iframe {
	display: block;
	max-width: 100%;
	height: auto;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.3;
	color: #ffffff;
	letter-spacing: -0.015em;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

/* ==========================================================================
   3. Layout Grid & Structure
   ========================================================================== */
.site-wrapper {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-main {
	flex: 1 0 auto;
	padding-bottom: var(--space-3xl);
}

.site-container {
	width: 100%;
	max-width: var(--container-max-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--space-lg);
	padding-right: var(--space-lg);
}

/* ==========================================================================
   4. Hero Sliders & Showcase Engines (5 Premium Visual Styles)
   ========================================================================== */

/* --------------------------------------------------------------------------
   STYLE 1: Neatidrama 3D Coverflow Perspective (Screenshot Match)
   -------------------------------------------------------------------------- */
.drama-hero-coverflow-slider {
	position: relative;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	padding: 16px 0 36px;
	margin-bottom: var(--space-2xl);
	background: var(--color-bg-base);
	border-bottom: 1px solid var(--color-border-subtle, rgba(139, 92, 246, 0.18));
	user-select: none;
	-webkit-user-select: none;
}

/* Neatidrama Top & Bottom Ambient Radial Glows */
.coverflow-top-radial-glow {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 90%;
	max-width: 1000px;
	height: 400px;
	pointer-events: none;
	z-index: 0;
	opacity: 0.8;
	background: radial-gradient(ellipse 65% 55% at 50% 0%, rgba(255, 255, 255, 0.22) 0%, rgba(192, 38, 211, 0.18) 32%, rgba(6, 182, 212, 0.12) 55%, transparent 75%);
}

.coverflow-bottom-radial-glow {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	width: 80%;
	max-width: 900px;
	height: 140px;
	pointer-events: none;
	z-index: 0;
	opacity: 0.7;
	background: radial-gradient(ellipse 65% 50% at 50% 60%, rgba(168, 85, 247, 0.28) 0%, rgba(6, 182, 212, 0.16) 50%, transparent 80%);
}

.coverflow-ambient-bg {
	position: absolute;
	inset: -40px;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	filter: blur(55px) brightness(0.2) saturate(1.4);
	opacity: 0.6;
	transition: background-image 0.7s cubic-bezier(0.18, 0.9, 0.28, 1);
	z-index: 0;
	pointer-events: none;
}

.coverflow-ambient-overlay {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 50% 35%, rgba(var(--color-primary-rgb, 139, 92, 246), 0.12) 0%, rgba(var(--color-bg-base-rgb, 8, 7, 19), 0.85) 70%, var(--color-bg-base) 100%);
	z-index: 1;
	pointer-events: none;
}

.coverflow-stage-container {
	position: relative;
	z-index: 2;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* Coverflow Navigation Arrows */
.coverflow-arrow {
	position: absolute;
	top: 45%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.65);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 40;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: all 0.25s cubic-bezier(0.18, 0.9, 0.28, 1);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.coverflow-arrow:hover {
	background: rgba(124, 58, 237, 0.9);
	border-color: rgba(6, 182, 212, 0.6);
	color: #ffffff;
	box-shadow: 0 0 20px rgba(6, 182, 212, 0.45);
	transform: translateY(-50%) scale(1.1);
}

.coverflow-arrow:active {
	transform: translateY(-50%) scale(0.92);
}

.coverflow-arrow-prev { left: 16px; }
.coverflow-arrow-next { right: 16px; }

/* 3D Track & Cards (Neatidrama Geometry) */
.coverflow-track-wrap {
	position: relative;
	width: 100%;
	height: 450px;
	perspective: 1200px;
	transform-style: preserve-3d;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	margin-bottom: -10px;
}

.coverflow-track {
	position: relative;
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
}

.coverflow-card {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 290px;
	height: 395px;
	transform-origin: center center;
	transform-style: preserve-3d;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	will-change: transform, opacity;
	cursor: pointer;
	transition: transform 480ms cubic-bezier(0.18, 0.9, 0.28, 1), opacity 350ms ease;
}

.coverflow-card-inner {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: 22px;
	overflow: hidden;
	background: #0b091a;
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.85);
	transition: all 300ms ease;
}

.coverflow-poster-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
}

.coverflow-card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 60%);
	pointer-events: none;
	opacity: 0.6;
}

/* Exclusive Badge */
.coverflow-badge-wrap {
	position: absolute;
	bottom: 12px;
	left: 12px;
	pointer-events: none;
	z-index: 2;
}

.coverflow-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 8px;
	border-radius: 6px;
	font-size: 9px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	background: linear-gradient(to right, #7c3aed, #4f46e5);
	color: #ffffff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Center Play Button (Visible on Active Card) */
.coverflow-play-btn {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 5;
	opacity: 0;
	pointer-events: none;
	transition: opacity 300ms ease, transform 300ms ease;
	text-decoration: none;
}

.play-btn-circle {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: linear-gradient(to top right, #9d1afc, #4f46e5, #2ea6fc);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 25px rgba(79, 70, 229, 0.55);
	transition: transform 250ms ease;
}

.play-btn-circle svg {
	margin-left: 2px;
}

.coverflow-play-btn:hover .play-btn-circle {
	transform: scale(1.1);
	box-shadow: 0 12px 30px rgba(157, 26, 252, 0.7);
}

/* Bottom Inverted Reflection Under Card */
.coverflow-card-reflection {
	position: absolute;
	bottom: -45px;
	left: 8px;
	right: 8px;
	height: 45px;
	pointer-events: none;
	opacity: 0.22;
	overflow: hidden;
	transform: scaleY(-1);
	filter: blur(1px);
	mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
	-webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.coverflow-card-reflection img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Side Card Small Title */
.coverflow-side-title {
	text-align: center;
	padding: 0 4px;
	margin-top: 10px;
	transition: opacity 300ms ease;
}

.coverflow-card.is-active .coverflow-side-title {
	opacity: 0;
	pointer-events: none;
}

.coverflow-side-title-text {
	font-size: 11px;
	font-weight: 500;
	color: rgba(212, 212, 216, 0.85);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
	margin: 0;
}

/* 3D Coverflow Exact Positions & Angled Perspective */
.coverflow-card.is-active {
	transform: translate3d(-50%, -50%, 0) scale(1) rotateY(0deg);
	z-index: 30;
	opacity: 1;
	filter: none;
}

.coverflow-card.is-active .coverflow-card-inner {
	border-color: rgba(255, 255, 255, 0.35);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), 0 0 35px rgba(168, 85, 247, 0.5);
}

.coverflow-card.is-active .coverflow-play-btn {
	opacity: 1;
	pointer-events: auto;
}

.coverflow-card.is-next-1 {
	transform: translate3d(calc(-50% + 240px), -50%, -40px) scale(0.92) rotateY(-26deg);
	z-index: 20;
	opacity: 0.68;
}

.coverflow-card.is-prev-1 {
	transform: translate3d(calc(-50% - 240px), -50%, -40px) scale(0.92) rotateY(26deg);
	z-index: 20;
	opacity: 0.68;
}

.coverflow-card.is-next-2 {
	transform: translate3d(calc(-50% + 450px), -50%, -95px) scale(0.85) rotateY(-32deg);
	z-index: 10;
	opacity: 0.38;
}

.coverflow-card.is-prev-2 {
	transform: translate3d(calc(-50% - 450px), -50%, -95px) scale(0.85) rotateY(32deg);
	z-index: 10;
	opacity: 0.38;
}

.coverflow-card.is-hidden-left {
	transform: translate3d(calc(-50% - 650px), -50%, -160px) scale(0.7) rotateY(40deg);
	z-index: 1;
	opacity: 0;
	pointer-events: none;
}

.coverflow-card.is-hidden-right {
	transform: translate3d(calc(-50% + 650px), -50%, -160px) scale(0.7) rotateY(-40deg);
	z-index: 1;
	opacity: 0;
	pointer-events: none;
}

/* Curved Glowing Neon Arc with Dots (Concave smile curve matching Neatidrama) */
.coverflow-arc-wrap {
	position: relative;
	width: 100%;
	max-width: 900px;
	margin: -10px auto 0;
	z-index: 20;
	padding: 0 16px;
}

.coverflow-arc-svg {
	width: 100%;
	height: auto;
	overflow: visible;
	display: block;
}

.arc-glow-blur {
	opacity: 0.6;
	filter: blur(2px);
}

.coverflow-dot-g {
	cursor: pointer;
	outline: none;
	transition: transform 200ms ease;
}

.coverflow-dot-g .dot-halo,
.coverflow-dot-g .dot-core-active,
.coverflow-dot-g .dot-center-white {
	display: none;
}

.coverflow-dot-g .dot-core-inactive {
	display: block;
	transition: all 200ms ease;
}

.coverflow-dot-g:hover .dot-core-inactive {
	fill-opacity: 0.95;
	r: 5.5px;
}

.coverflow-dot-g.is-active .dot-halo {
	display: block;
	animation: dotHaloPulse 2s infinite;
	opacity: 0.55;
}

.coverflow-dot-g.is-active .dot-core-active,
.coverflow-dot-g.is-active .dot-center-white {
	display: block;
}

.coverflow-dot-g.is-active .dot-core-inactive {
	display: none;
}

@keyframes dotHaloPulse {
	0%, 100% { transform: scale(1); opacity: 0.6; }
	50% { transform: scale(1.25); opacity: 0.3; }
}

.pointer-events-none {
	pointer-events: none !important;
}

.dot-hitbox {
	pointer-events: all !important;
	cursor: pointer;
}

/* Active Drama Title & Meta Box (Below Arc) */
.coverflow-info-box {
	position: relative;
	z-index: 20;
	text-align: center;
	padding: 0 16px;
	margin-top: 6px;
	max-width: 760px;
}

.coverflow-active-title {
	font-family: var(--font-heading);
	font-size: var(--slider-title-size, 1.85rem);
	font-weight: 900;
	margin: 0 0 6px;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.coverflow-title-link {
	color: var(--slider-title-color, #ffffff);
	text-decoration: none;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
	transition: color 200ms ease;
	display: inline-block;
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.coverflow-title-link:hover {
	color: var(--slider-accent-color, #67e8f9);
}

.coverflow-active-meta {
	display: none !important;
}

/* --------------------------------------------------------------------------
   STYLE 2: Cinematic Spotlight Banner
   -------------------------------------------------------------------------- */
.drama-hero-spotlight {
	position: relative;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	min-height: 560px;
	display: flex;
	align-items: center;
	border-bottom: 1px solid rgba(139, 92, 246, 0.2);
	margin-bottom: var(--space-3xl);
	overflow: hidden;
}

.drama-cinematic-slider {
	position: relative;
	overflow: hidden;
	min-height: 560px;
}

.cinematic-slides-wrapper {
	position: relative;
	width: 100%;
	min-height: 560px;
}

.cinematic-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.7s cubic-bezier(0.18, 0.9, 0.28, 1), visibility 0.7s ease;
	display: flex;
	align-items: center;
	z-index: 1;
}

.cinematic-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

.cinematic-nav-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.65);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 25;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: all 0.2s ease;
}

.cinematic-prev { left: 24px; }
.cinematic-next { right: 24px; }

.cinematic-nav-arrow:hover {
	background: var(--color-primary);
	border-color: var(--color-primary);
	transform: translateY(-50%) scale(1.1);
}

.cinematic-pagination-dots {
	position: absolute;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 25;
}

.cinematic-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
}

.cinematic-dot.is-active {
	background: var(--slider-accent-color, #a855f7);
	width: 26px;
	border-radius: 6px;
}

.hero-ambient-glow {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 50% -10%, rgba(var(--color-primary-rgb, 139, 92, 246), 0.3) 0%, transparent 70%),
	            linear-gradient(180deg, rgba(var(--color-bg-base-rgb, 8, 7, 19), 0.3) 0%, rgba(var(--color-bg-base-rgb, 8, 7, 19), 0.85) 75%, var(--color-bg-base) 100%),
	            linear-gradient(90deg, var(--color-bg-base) 25%, rgba(var(--color-bg-base-rgb, 8, 7, 19), 0.6) 65%, transparent 100%);
	pointer-events: none;
	z-index: 1;
}

.hero-container {
	position: relative;
	z-index: 2;
	width: 100%;
}

.hero-grid-layout {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2xl);
	padding: var(--space-2xl) 0;
}

.hero-content-box {
	max-width: 680px;
	flex: 1 1 auto;
}

.hero-spotlight-tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(139, 92, 246, 0.15);
	border: 1px solid rgba(139, 92, 246, 0.45);
	padding: 0.35rem 0.95rem;
	border-radius: var(--radius-full);
	margin-bottom: var(--space-md);
	box-shadow: 0 0 12px rgba(139, 92, 246, 0.25);
}

.spotlight-indicator {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: var(--color-secondary);
	box-shadow: 0 0 10px var(--color-secondary);
	animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.4; transform: scale(0.85); }
}

.spotlight-label {
	font-size: 0.75rem;
	font-weight: 700;
	color: #ffffff;
	letter-spacing: 0.08em;
}

.hero-drama-title {
	font-size: var(--slider-title-size, 2.85rem);
	font-weight: 800;
	line-height: 1.15;
	margin-bottom: var(--space-md);
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}

.hero-drama-title a {
	color: var(--slider-title-color, #ffffff);
	transition: color var(--transition-fast);
}

.hero-drama-title a:hover {
	color: var(--slider-accent-color, #c4b5fd);
}

.hero-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: var(--space-lg);
}

.hero-excerpt {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--slider-meta-color, #94a3b8);
	margin-bottom: var(--space-xl);
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
	max-width: 620px;
}

.hero-action-buttons {
	display: flex;
	align-items: center;
	gap: var(--space-md);
	flex-wrap: wrap;
}

.hero-poster-showcase {
	flex: 0 0 260px;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
}

.hero-showcase-card {
	position: relative;
	width: 240px;
	aspect-ratio: 2 / 3;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background-color: var(--color-bg-card);
	border: 1px solid rgba(139, 92, 246, 0.4);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 28px rgba(124, 58, 237, 0.35);
	transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hero-showcase-card:hover {
	transform: translateY(-6px) scale(1.02);
	border-color: rgba(139, 92, 246, 0.8);
	box-shadow: 0 20px 42px rgba(0, 0, 0, 0.8), 0 0 35px rgba(139, 92, 246, 0.5);
}

.hero-showcase-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* --------------------------------------------------------------------------
   STYLE 3: Horizon Multi-Card Carousel
   -------------------------------------------------------------------------- */
.drama-modern-carousel-slider {
	position: relative;
	padding: var(--space-2xl) 0;
	margin-bottom: var(--space-3xl);
	background: linear-gradient(180deg, rgba(17, 12, 38, 0.6) 0%, rgba(8, 7, 19, 0.95) 100%);
	border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.modern-carousel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: var(--space-lg);
}

.carousel-title-group {
	display: flex;
	align-items: center;
	gap: 10px;
}

.carousel-accent-pill {
	width: 5px;
	height: 22px;
	background: linear-gradient(180deg, #ec4899 0%, #8b5cf6 100%);
	border-radius: var(--radius-full);
}

.carousel-heading {
	font-family: var(--font-heading);
	font-size: 1.4rem;
	font-weight: 700;
	color: #ffffff;
	margin: 0;
}

.carousel-nav-arrows {
	display: flex;
	align-items: center;
	gap: 8px;
}

.carousel-arrow {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.carousel-arrow:hover {
	background: var(--color-primary);
	border-color: var(--color-primary);
}

.modern-carousel-viewport {
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.modern-carousel-viewport::-webkit-scrollbar {
	display: none;
}

.modern-carousel-track {
	display: flex;
	gap: 18px;
	padding: 8px 2px;
}

.modern-carousel-item {
	flex: 0 0 220px;
	transition: transform var(--transition-normal);
}

.modern-card-link {
	display: block;
	text-decoration: none;
}

.modern-card-media {
	position: relative;
	aspect-ratio: 2 / 3;
	border-radius: var(--radius-md);
	overflow: hidden;
	background: #15102a;
	border: 1px solid rgba(139, 92, 246, 0.25);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.modern-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition-normal);
}

.modern-carousel-item:hover .modern-card-media img {
	transform: scale(1.05);
}

.modern-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
	color: #ffffff;
	font-size: 0.625rem;
	font-weight: 800;
	padding: 2px 7px;
	border-radius: 4px;
	z-index: 2;
}

.modern-card-overlay {
	position: absolute;
	inset: 0;
	background: rgba(8, 7, 19, 0.45);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity var(--transition-fast);
}

.modern-carousel-item:hover .modern-card-overlay {
	opacity: 1;
}

.modern-play-icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--color-primary);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 16px rgba(124, 58, 237, 0.6);
}

.modern-card-info {
	padding-top: 10px;
}

.modern-card-title {
	font-size: 0.95rem;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 4px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.modern-card-meta {
	font-size: 0.75rem;
	color: #94a3b8;
	display: flex;
	gap: 6px;
}

/* --------------------------------------------------------------------------
   STYLE 4: Ambient Fullscreen Crossfade
   -------------------------------------------------------------------------- */
.drama-fullscreen-fade-slider {
	position: relative;
	min-height: 560px;
	margin-bottom: var(--space-3xl);
	overflow: hidden;
	background: var(--color-bg-base);
	border-bottom: 1px solid var(--color-border-subtle, rgba(139, 92, 246, 0.2));
}

.fade-slides-container {
	position: relative;
	width: 100%;
	min-height: 560px;
}

.fade-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.8s ease, visibility 0.8s ease;
	display: flex;
	align-items: center;
}

.fade-slide.is-active {
	opacity: 1;
	visibility: visible;
}

.fade-slide-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, var(--color-bg-base) 30%, rgba(var(--color-bg-base-rgb, 8, 7, 19), 0.7) 65%, transparent 100%),
	            linear-gradient(180deg, transparent 60%, var(--color-bg-base) 100%);
	z-index: 1;
}

.fade-slide-content {
	position: relative;
	z-index: 2;
}

.fade-content-inner {
	max-width: 650px;
}

.fade-badge {
	display: inline-block;
	background: rgba(139, 92, 246, 0.2);
	border: 1px solid rgba(139, 92, 246, 0.5);
	color: #c4b5fd;
	padding: 4px 12px;
	border-radius: var(--radius-full);
	font-size: 0.75rem;
	font-weight: 700;
	margin-bottom: 12px;
}

.fade-title {
	font-size: var(--slider-title-size, 3rem);
	font-weight: 800;
	color: var(--slider-title-color, #ffffff);
	line-height: 1.15;
	margin-bottom: 14px;
}

.fade-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	color: var(--slider-meta-color, #cbd5e1);
}

.fade-excerpt {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--slider-meta-color, #94a3b8);
	margin-bottom: 22px;
}

.fade-nav-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(15, 12, 33, 0.75);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	backdrop-filter: blur(8px);
	transition: all 0.2s ease;
}

.fade-nav-arrow:hover {
	background: var(--color-primary);
	border-color: var(--color-primary);
}

.fade-prev { left: 24px; }
.fade-next { right: 24px; }

.fade-pagination-dots {
	position: absolute;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	z-index: 10;
}

.fade-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
}

.fade-dot.is-active {
	background: var(--slider-accent-color, #a855f7);
	width: 26px;
	border-radius: 6px;
}

/* --------------------------------------------------------------------------
   STYLE 5: Split Editorial Showcase with 3D Poster Stack
   -------------------------------------------------------------------------- */
.drama-split-showcase-slider {
	position: relative;
	padding: var(--space-3xl) 0;
	margin-bottom: var(--space-3xl);
	background: linear-gradient(135deg, var(--color-bg-surface) 0%, var(--color-bg-base) 100%);
	border-bottom: 1px solid var(--color-border-subtle, rgba(139, 92, 246, 0.2));
}

.split-stage {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3xl);
}

.split-content-side {
	flex: 1 1 55%;
	max-width: 620px;
}

.split-tag {
	display: inline-block;
	background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 800;
	padding: 4px 12px;
	border-radius: var(--radius-full);
	margin-bottom: 14px;
}

.split-title {
	font-size: var(--slider-title-size, 2.75rem);
	font-weight: 800;
	color: var(--slider-title-color, #ffffff);
	line-height: 1.15;
	margin-bottom: 14px;
}

.split-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	color: var(--slider-meta-color, #cbd5e1);
}

.split-excerpt {
	font-size: 1rem;
	line-height: 1.65;
	color: var(--slider-meta-color, #94a3b8);
	margin-bottom: 24px;
}

.split-visual-side {
	flex: 1 1 45%;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
}

.split-stack-container {
	position: relative;
	width: 260px;
	height: 380px;
	perspective: 1000px;
}

.split-stack-card {
	position: absolute;
	top: 0;
	left: 0;
	width: 260px;
	height: 380px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
	border: 1px solid rgba(139, 92, 246, 0.35);
	transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
	cursor: pointer;
}

.split-stack-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.split-stack-card.is-active {
	transform: translate(0, 0) scale(1);
	z-index: 3;
	border-color: rgba(168, 85, 247, 0.8);
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(139, 92, 246, 0.4);
}

.split-stack-card.is-next {
	transform: translate(30px, -20px) rotate(6deg) scale(0.92);
	z-index: 2;
	opacity: 0.75;
	filter: brightness(0.65);
}

.split-stack-card.is-back {
	transform: translate(60px, -38px) rotate(12deg) scale(0.85);
	z-index: 1;
	opacity: 0.4;
	filter: brightness(0.4);
}

.split-nav {
	display: flex;
	gap: 12px;
	margin-top: 24px;
}

.split-arrow {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.split-arrow:hover {
	background: var(--color-primary);
	border-color: var(--color-primary);
}

@media (max-width: 991px) {
	.hero-poster-showcase {
		display: none;
	}
	.hero-drama-title {
		font-size: 2.15rem;
	}
	.split-stage {
		flex-direction: column;
		text-align: center;
	}
	.split-content-side {
		max-width: 100%;
	}
	.split-meta, .split-buttons {
		justify-content: center;
	}
	.coverflow-card.is-prev-2, .coverflow-card.is-next-2 {
		display: none;
	}
	.coverflow-card.is-prev-1 {
		transform: translateX(calc(-50% - 150px)) translateY(-50%) translateZ(-30px) scale(0.9) rotateY(25deg);
	}
	.coverflow-card.is-next-1 {
		transform: translateX(calc(-50% + 150px)) translateY(-50%) translateZ(-30px) scale(0.9) rotateY(-25deg);
	}
}

@media (max-width: 640px) {
	.coverflow-track-wrap {
		height: 310px;
	}
	.coverflow-card {
		width: 190px;
		height: 275px;
	}
	.coverflow-card.is-prev-1 {
		transform: translateX(calc(-50% - 95px)) translateY(-50%) scale(0.85) rotateY(20deg);
		opacity: 0.55;
	}
	.coverflow-card.is-next-1 {
		transform: translateX(calc(-50% + 95px)) translateY(-50%) scale(0.85) rotateY(-20deg);
		opacity: 0.55;
	}
	.coverflow-arrow {
		width: 36px;
		height: 36px;
	}
	.coverflow-dots-list {
		gap: 12px;
	}
	.coverflow-active-title {
		font-size: 1.35rem;
	}
}

/* ==========================================================================
   5. Sections & Section Headers
   ========================================================================== */
.front-page-layout {
	position: relative;
	z-index: 2;
	padding-top: var(--space-sm);
}

.home-section {
	position: relative;
	margin-bottom: 2rem;
}

.section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1rem;
	padding: 0.65rem 1.25rem;
	background: linear-gradient(90deg, rgba(var(--color-bg-surface-rgb, 14, 13, 34), 0.95) 0%, rgba(var(--color-bg-card-rgb, 19, 17, 44), 0.9) 100%);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid var(--color-border-subtle, rgba(139, 92, 246, 0.25));
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
	position: relative;
	overflow: visible;
}

.section-title-wrap {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	overflow: visible;
}

.section-accent-bar {
	width: 5px;
	height: 24px;
	background: linear-gradient(180deg, #ec4899 0%, #8b5cf6 50%, #06b6d4 100%);
	border-radius: var(--radius-full);
	box-shadow: 0 0 12px rgba(168, 85, 247, 0.9);
	flex-shrink: 0;
}

.section-title {
	font-family: var(--home-section-title-font, var(--font-heading));
	font-size: var(--home-section-title-size-desktop, 1.25rem);
	font-weight: var(--home-section-title-weight, 700);
	color: var(--home-section-title-color, #ffffff);
	letter-spacing: normal;
	margin: 0;
	line-height: 1.65;
	padding: 4px 0 6px 0;
	display: inline-block;
	vertical-align: middle;
	overflow: visible;
}

.section-header-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.section-view-all {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-text-muted, #94a3b8);
	text-decoration: none;
	transition: color var(--transition-fast), transform var(--transition-fast);
}

.section-view-all:hover {
	color: var(--color-primary, #8B5CF6);
	transform: translateX(2px);
}

.section-slider-nav {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.slider-arrow-btn {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--color-border-subtle, rgba(139, 92, 246, 0.3));
	color: var(--color-primary, #8B5CF6);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: all var(--transition-fast);
}

.slider-arrow-btn:hover {
	background: var(--color-primary, #8B5CF6);
	border-color: var(--color-primary-hover, #7C3AED);
	color: #ffffff;
	box-shadow: 0 0 12px var(--shadow-glow, rgba(139, 92, 246, 0.4));
}

/* ==========================================================================
   6. Drama Card Component (Neati 6-Col Poster Grid)
   ========================================================================== */
.drama-card-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 16px;
}

@media (max-width: 1280px) {
	.drama-card-grid {
		grid-template-columns: repeat(5, 1fr);
	}
}

@media (max-width: 1024px) {
	.drama-card-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 768px) {
	.drama-card-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 12px;
	}
}

@media (max-width: 480px) {
	.drama-card-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
}

.drama-card {
	background: transparent;
	border: none;
	border-radius: 0;
	overflow: visible;
	position: relative;
	transition: transform var(--transition-normal);
}

.drama-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.drama-card-thumbnail {
	position: relative;
	aspect-ratio: 2 / 3;
	border-radius: var(--radius-md, 12px);
	overflow: hidden;
	background-color: var(--color-bg-card);
	border: 1px solid var(--color-border-subtle, rgba(139, 92, 246, 0.2));
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
	transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.drama-card:hover .drama-card-thumbnail {
	transform: translateY(-5px);
	border-color: var(--color-border-hover, rgba(139, 92, 246, 0.6));
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65), 0 0 18px var(--shadow-glow, rgba(139, 92, 246, 0.35));
}

.card-poster-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform var(--transition-slow);
}

.drama-card:hover .card-poster-img {
	transform: scale(1.05);
}

.card-top-badges {
	position: absolute;
	top: 8px;
	left: 8px;
	right: 8px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 2;
	pointer-events: none;
	gap: 6px;
}

.card-bottom-badges {
	position: absolute;
	bottom: 8px;
	left: 8px;
	right: 8px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 5px;
	z-index: 2;
	pointer-events: none;
}

.badge-rating {
	background: rgba(0, 0, 0, 0.78);
	color: #fbbf24;
	border: 1px solid rgba(251, 191, 36, 0.35);
	border-radius: 6px;
	padding: 2px 7px;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	display: inline-flex;
	align-items: center;
	gap: 3px;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.drama-card.rating-style-red_pill .badge-rating {
	background: linear-gradient(135deg, #ef4444, #dc2626);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.drama-card.rating-style-minimal .badge-rating {
	background: transparent;
	border: none;
	padding: 0;
	color: #fbbf24;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.badge-status {
	background: #10b981;
	color: #ffffff;
	border-radius: 6px;
	padding: 2px 7px;
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1.3;
	box-shadow: 0 2px 8px rgba(16, 185, 129, 0.45);
	letter-spacing: 0.02em;
	display: inline-flex;
	align-items: center;
}

.drama-card.status-style-outline .badge-status {
	background: rgba(16, 185, 129, 0.15);
	border: 1.5px solid #10b981;
	color: #34d399;
}

.drama-card.status-style-dot .badge-status {
	padding: 3px 6px;
	font-size: 0.65rem;
}

.badge-episodes {
	background: rgba(8, 7, 19, 0.85);
	color: #38bdf8;
	border: 1px solid rgba(56, 189, 248, 0.4);
	border-radius: 6px;
	padding: 2px 6px;
	font-size: 0.65rem;
	font-weight: 700;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.badge-sub {
	background: rgba(168, 85, 247, 0.85);
	color: #ffffff;
	border-radius: 6px;
	padding: 2px 6px;
	font-size: 0.65rem;
	font-weight: 700;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.badge-hd {
	background: rgba(234, 179, 8, 0.85);
	color: #000000;
	border-radius: 6px;
	padding: 2px 5px;
	font-size: 0.625rem;
	font-weight: 800;
}

.card-play-action {
	position: absolute;
	inset: 0;
	background: rgba(8, 7, 19, 0.45);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity var(--transition-normal);
	z-index: 3;
}

.card-play-button {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--grad-play-btn);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 18px rgba(124, 58, 237, 0.65);
	transform: scale(0.85);
	transition: transform var(--transition-normal);
}

.drama-card:hover .card-play-action {
	opacity: 1;
}

.drama-card:hover .card-play-button {
	transform: scale(1);
}

.card-details {
	padding: 6px 2px 0 2px;
}

.card-title {
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.5;
	margin: 5px 0 0 0;
	color: #ffffff;
	transition: color var(--transition-fast);
	/* 2-line clamp with full Khmer vowel/subscript safety */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	word-break: break-word;
	padding-top: 1px;
	padding-bottom: 2px;
	min-height: auto;
}

.drama-card:hover .card-title {
	color: #c4b5fd;
}

.card-meta {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.card-year {
	font-size: 0.8125rem;
	color: #94a3b8;
	font-weight: 500;
}

/* ==========================================================================
   7. Episode Card Component (16:9 Ratio)
   ========================================================================== */
.episode-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: var(--space-lg);
}

.episode-card {
	background-color: var(--color-bg-surface);
	border-radius: var(--radius-md);
	border: 1px solid var(--color-border-subtle);
	overflow: hidden;
	transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.episode-card:hover {
	transform: translateY(-4px);
	border-color: var(--color-border-hover);
	box-shadow: var(--shadow-md);
}

.episode-card-thumbnail {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background-color: var(--color-bg-card);
}

.episode-thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition-slow);
}

.episode-card:hover .episode-thumb-img {
	transform: scale(1.05);
}

.episode-badge-wrap {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
}

.badge-episode-num {
	background: var(--color-primary);
	color: #ffffff;
	font-weight: 800;
}

.episode-duration-wrap {
	position: absolute;
	bottom: 8px;
	right: 8px;
	z-index: 2;
}

.badge-duration {
	background: rgba(11, 12, 16, 0.85);
	color: #ffffff;
	font-size: 0.65rem;
}

.episode-play-hover {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity var(--transition-normal);
	z-index: 3;
}

.episode-card:hover .episode-play-hover {
	opacity: 1;
}

.episode-card-content {
	padding: var(--space-md);
}

.episode-parent-name {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--color-primary);
	margin-bottom: 0.2rem;
	letter-spacing: 0.04em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.episode-card-title {
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: 0.4rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.episode-card-meta {
	font-size: 0.8125rem;
	color: var(--color-text-faint);
}

/* ==========================================================================
   8. Genre Tiles Grid
   ========================================================================== */
.genre-tiles-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: var(--space-md);
}

.genre-tile-item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background-color: var(--color-bg-surface);
	border: 1px solid var(--color-border-subtle);
	border-radius: var(--radius-md);
	padding: var(--space-md);
	transition: all var(--transition-fast);
}

.genre-tile-item:hover {
	background-color: var(--color-bg-card);
	border-color: var(--color-primary);
	transform: translateY(-3px);
	box-shadow: var(--shadow-sm);
}

.genre-tile-icon {
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
}

.genre-tile-name {
	font-weight: 700;
	font-size: 1rem;
	color: #ffffff;
}

.genre-tile-count {
	font-size: 0.75rem;
	color: var(--color-text-muted);
}

/* ==========================================================================
   9. Accessible Numeric Pagination
   ========================================================================== */
.drama-pagination-nav {
	margin-top: var(--space-3xl);
	display: flex;
	justify-content: center;
}

.pagination-wrapper ul.page-numbers {
	display: flex;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pagination-wrapper .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.75rem;
	background-color: var(--color-bg-surface);
	border: 1px solid var(--color-border-subtle);
	border-radius: var(--radius-md);
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-text-main);
	transition: all var(--transition-fast);
}

.pagination-wrapper a.page-numbers:hover {
	background-color: var(--color-bg-card);
	border-color: var(--color-primary);
	color: #ffffff;
}

.pagination-wrapper .page-numbers.current {
	background-color: var(--color-primary);
	border-color: var(--color-primary);
	color: #ffffff;
}

/* ==========================================================================
   10. Interactive Buttons, Badges & Forms
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: var(--font-sans);
	font-weight: 600;
	font-size: 0.9375rem;
	line-height: 1.2;
	padding: 0.75rem 1.5rem;
	border-radius: var(--radius-md);
	cursor: pointer;
	border: 1px solid transparent;
	transition: background-color var(--transition-normal),
	            border-color var(--transition-normal),
	            box-shadow var(--transition-normal),
	            transform var(--transition-fast);
	user-select: none;
	white-space: nowrap;
}

.btn:active {
	transform: scale(0.98);
}

.btn-primary {
	background: var(--grad-play-btn);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 4px 18px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
	background: var(--grad-play-btn);
	color: #ffffff;
	box-shadow: 0 8px 26px rgba(124, 58, 237, 0.65);
	transform: translateY(-2px);
}

.btn-secondary {
	background-color: rgba(255, 255, 255, 0.06);
	color: var(--color-text-main);
	border: 1px solid rgba(139, 92, 246, 0.35);
	backdrop-filter: blur(8px);
}

.btn-secondary:hover {
	background-color: rgba(139, 92, 246, 0.2);
	border-color: rgba(139, 92, 246, 0.65);
	color: #ffffff;
	box-shadow: 0 0 16px rgba(139, 92, 246, 0.3);
}

.btn-lg {
	padding: 0.95rem 1.85rem;
	font-size: 1.0625rem;
	border-radius: var(--radius-lg);
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	padding: 0.22rem 0.55rem;
	border-radius: 6px;
	line-height: 1.3;
}

.badge-status {
	background: var(--color-status-completed);
	color: #ffffff;
	box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
	text-transform: uppercase;
}

.badge-rating {
	background: rgba(8, 7, 19, 0.78);
	color: var(--color-accent-gold);
	border: 1px solid rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	font-weight: 700;
}

.badge-quality,
.badge-sub {
	background: rgba(139, 92, 246, 0.22);
	color: #c4b5fd;
	border: 1px solid rgba(139, 92, 246, 0.38);
}

.badge-year {
	background: rgba(255, 255, 255, 0.08);
	color: var(--color-text-muted);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.badge-country {
	background: rgba(6, 182, 212, 0.15);
	color: var(--color-secondary);
	border: 1px solid rgba(6, 182, 212, 0.35);
}

.genre-pill {
	display: inline-block;
	background: rgba(139, 92, 246, 0.1);
	color: #c4b5fd;
	border: 1px solid rgba(139, 92, 246, 0.25);
	padding: 0.25rem 0.75rem;
	border-radius: var(--radius-full);
	font-size: 0.8125rem;
	line-height: 1.5;
	transition: all var(--transition-fast);
}

.genre-pill:hover {
	background: rgba(139, 92, 246, 0.25);
	border-color: rgba(139, 92, 246, 0.55);
	color: #ffffff;
	box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

/* Brand Text Gradient Utility */
.text-brand-gradient {
	background: var(--grad-brand-neon);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	display: inline-block;
}

/* ==========================================================================
   11. Single Drama Layout & Hero Banner
   ========================================================================== */
.drama-detail-hero,
.drama-detail-banner {
	position: relative;
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	padding: var(--space-3xl) 0;
	border-bottom: 1px solid rgba(139, 92, 246, 0.2);
	margin-bottom: var(--space-3xl);
	background-color: var(--color-bg-base);
}

.hero-backdrop-overlay {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 50% -10%, rgba(var(--color-primary-rgb, 139, 92, 246), 0.3) 0%, transparent 70%),
	            linear-gradient(180deg, rgba(var(--color-bg-base-rgb, 8, 7, 19), 0.45) 0%, rgba(var(--color-bg-base-rgb, 8, 7, 19), 0.92) 80%, var(--color-bg-base) 100%),
	            linear-gradient(90deg, var(--color-bg-base) 20%, rgba(var(--color-bg-base-rgb, 8, 7, 19), 0.7) 60%, transparent 100%);
	z-index: 1;
}

.hero-details-container,
.drama-detail-hero-layout {
	position: relative;
	z-index: 2;
	display: flex;
	gap: var(--space-2xl);
	align-items: flex-start;
}

.drama-poster-column,
.drama-detail-poster-col {
	flex: 0 0 280px;
	display: flex;
	flex-direction: column;
	gap: var(--space-md);
}

.drama-poster-card,
.poster-frame {
	position: relative;
	aspect-ratio: 2 / 3;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background-color: var(--color-bg-card);
	border: 1px solid rgba(139, 92, 246, 0.35);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75), 0 0 24px rgba(124, 58, 237, 0.25);
}

.drama-poster-card .badge-status {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
}

.poster-detail-img,
.detail-poster-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.btn-trailer {
	width: 100%;
}

.drama-info-column,
.drama-detail-info-col {
	flex: 1 1 auto;
}

.drama-detail-title,
.drama-main-title {
	font-size: 2.75rem;
	font-weight: 800;
	line-height: 1.15;
	margin-bottom: var(--space-md);
	color: #ffffff;
}

.drama-meta-badges,
.drama-meta-badges-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: var(--space-md);
}

.drama-genre-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: var(--space-xl);
}

.drama-synopsis-section {
	background: rgba(14, 13, 34, 0.75);
	border: 1px solid rgba(139, 92, 246, 0.2);
	border-radius: var(--radius-md);
	padding: var(--space-lg);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.synopsis-heading {
	font-size: 1.25rem;
	margin-bottom: var(--space-sm);
	color: #ffffff;
}

.synopsis-body-text {
	color: var(--color-text-muted);
	font-size: 1rem;
	line-height: 1.8;
}

/* ==========================================================================
   12. Episode Selector Grid (Single Drama & Episode Views)
   ========================================================================== */
.drama-episodes-listing-section {
	margin-bottom: var(--space-3xl);
}

.episodes-selector-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
	gap: 0.65rem;
	margin-top: var(--space-md);
}

.episode-pill-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 0.7rem 0.6rem;
	background-color: var(--color-bg-card);
	border: 1px solid rgba(139, 92, 246, 0.22);
	border-radius: var(--radius-sm);
	font-family: var(--font-heading);
	font-size: 0.875rem;
	font-weight: 700;
	color: #e2e8f0;
	transition: all var(--transition-fast);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.episode-pill-link:hover {
	background-color: rgba(139, 92, 246, 0.25);
	border-color: rgba(139, 92, 246, 0.65);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
}

.episode-pill-link.is-current-playing {
	background: var(--grad-play-btn);
	border-color: transparent;
	color: #ffffff;
	box-shadow: 0 4px 18px rgba(124, 58, 237, 0.65);
	transform: translateY(-1px);
}

.playing-indicator {
	font-size: 0.7rem;
	margin-left: 2px;
	color: #ffffff;
	animation: pulseGlow 1.5s infinite;
}

.no-episodes-alert {
	padding: var(--space-lg);
	background-color: var(--color-bg-surface);
	border: 1px dashed rgba(139, 92, 246, 0.35);
	border-radius: var(--radius-md);
	color: var(--color-text-muted);
}

/* ==========================================================================
   12.1 Video Player Container & Controls (Neati Streaming UI)
   ========================================================================== */
.single-episode-container {
	padding-top: var(--space-xl);
}

.episode-header-nav {
	margin-bottom: var(--space-lg);
}

.episode-breadcrumbs {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8125rem;
	color: #94a3b8;
	margin-bottom: var(--space-xs);
	flex-wrap: wrap;
}

.episode-breadcrumbs a {
	color: #94a3b8;
	transition: color var(--transition-fast);
}

.episode-breadcrumbs a:hover {
	color: #c4b5fd;
}

.episode-breadcrumbs .current {
	color: #ffffff;
	font-weight: 600;
}

.episode-title {
	font-size: 1.85rem;
	font-weight: 800;
	color: #ffffff;
	line-height: 1.25;
}

.parent-title-prefix {
	color: #c4b5fd;
	margin-right: 0.35rem;
}

.video-player-wrapper {
	position: relative;
	width: 100%;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: #000000;
	border: 1px solid rgba(139, 92, 246, 0.3);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(124, 58, 237, 0.25);
	margin-bottom: var(--space-lg);
}

.drama-video-player-box {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000000;
}

.drama-video-player-box iframe,
.drama-video-player-box video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

.episode-control-bar {
	margin-bottom: var(--space-2xl);
	padding: var(--space-md);
	background: rgba(14, 13, 34, 0.85);
	border: 1px solid rgba(139, 92, 246, 0.2);
	border-radius: var(--radius-md);
}

.episode-actions-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-md);
	flex-wrap: wrap;
}

.episode-nav-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
}

.episode-nav-btn.is-disabled {
	opacity: 0.5;
	pointer-events: none;
}

.episode-all-btn {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(139, 92, 246, 0.35);
	color: #c4b5fd;
}

.episode-all-btn:hover {
	background: rgba(139, 92, 246, 0.2);
	border-color: rgba(139, 92, 246, 0.6);
	color: #ffffff;
}

.related-episodes-section {
	margin-top: var(--space-2xl);
	margin-bottom: var(--space-2xl);
}

.episode-editorial-notes {
	background: rgba(14, 13, 34, 0.7);
	border: 1px solid rgba(139, 92, 246, 0.2);
	border-radius: var(--radius-md);
	padding: var(--space-lg);
	margin-top: var(--space-xl);
}

/* ==========================================================================
   13. Archive Headers, Filters & Empty States
   ========================================================================== */
.archive-container {
	padding-top: var(--space-2xl);
}

.archive-header-banner {
	margin-bottom: var(--space-2xl);
	padding-bottom: var(--space-lg);
	border-bottom: 1px solid var(--color-border-subtle);
}

.archive-breadcrumb {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8125rem;
	color: var(--color-text-muted);
	margin-bottom: var(--space-sm);
}

.archive-breadcrumb .sep {
	color: var(--color-text-faint);
}

.archive-breadcrumb .current {
	color: #ffffff;
}

.archive-title {
	font-size: 2.25rem;
	font-weight: 800;
	margin-bottom: var(--space-xs);
}

.archive-subtitle {
	color: var(--color-text-muted);
	font-size: 1.0625rem;
	margin-bottom: var(--space-lg);
}

.archive-filter-toolbar {
	display: flex;
	flex-direction: column;
	gap: var(--space-md);
	background: var(--color-bg-surface);
	border: 1px solid var(--color-border-subtle);
	border-radius: var(--radius-md);
	padding: var(--space-md) var(--space-lg);
	margin-top: var(--space-md);
}

.filter-group {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
	flex-wrap: wrap;
}

.filter-label {
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-text-muted);
	min-width: 65px;
}

.filter-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.filter-pill {
	font-size: 0.8125rem;
	font-weight: 500;
	padding: 0.25rem 0.65rem;
	border-radius: var(--radius-sm);
	background: var(--color-bg-card);
	border: 1px solid var(--color-border-subtle);
	color: var(--color-text-muted);
	transition: all var(--transition-fast);
}

.filter-pill:hover,
.filter-pill.is-active {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: #ffffff;
}

.archive-empty-state {
	text-align: center;
	padding: var(--space-3xl) var(--space-lg);
	background: var(--color-bg-surface);
	border: 1px dashed var(--color-border-subtle);
	border-radius: var(--radius-lg);
	max-width: 600px;
	margin: var(--space-2xl) auto;
}

.empty-state-icon {
	font-size: 3rem;
	margin-bottom: var(--space-md);
}

.empty-state-title {
	font-size: 1.5rem;
	margin-bottom: var(--space-sm);
}

.empty-state-text {
	color: var(--color-text-muted);
	margin-bottom: var(--space-lg);
}

/* ==========================================================================
   14. 404 Error Page
   ========================================================================== */
.not-found-layout {
	padding: var(--space-3xl) var(--space-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 60vh;
}

.error-404-box {
	text-align: center;
	max-width: 600px;
	background: var(--color-bg-surface);
	border: 1px solid var(--color-border-subtle);
	border-radius: var(--radius-xl);
	padding: var(--space-3xl) var(--space-xl);
	box-shadow: var(--shadow-lg);
}

.error-badge {
	font-family: var(--font-heading);
	font-size: 5.5rem;
	font-weight: 900;
	line-height: 1;
	background: linear-gradient(135deg, var(--color-primary) 0%, #ff4d5a 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: var(--space-md);
}

.error-description {
	color: var(--color-text-muted);
	font-size: 1.0625rem;
	line-height: 1.7;
}

/* ==========================================================================
   15. Standard Pages, Blog Posts & Comments
   ========================================================================== */
.page-content-layout,
.single-post-layout {
	max-width: 900px;
	margin: var(--space-2xl) auto;
	padding: 0 var(--space-md);
}

.page-article,
.single-article {
	background: var(--color-bg-surface);
	border: 1px solid var(--color-border-subtle);
	border-radius: var(--radius-lg);
	padding: var(--space-2xl) var(--space-xl);
	margin-bottom: var(--space-2xl);
}

.page-title,
.entry-title {
	font-size: 2.25rem;
	font-weight: 800;
	line-height: 1.3;
	margin-bottom: var(--space-md);
	color: #ffffff;
}

.entry-meta {
	font-size: 0.875rem;
	color: var(--color-text-muted);
	margin-bottom: var(--space-xl);
	display: flex;
	gap: var(--space-md);
}

.entry-thumbnail {
	margin-bottom: var(--space-xl);
	border-radius: var(--radius-md);
	overflow: hidden;
}

.entry-thumbnail img {
	width: 100%;
	height: auto;
	display: block;
}

.page-body-content,
.entry-content {
	font-size: 1.0625rem;
	line-height: 1.8;
	color: var(--color-text-body);
}

.page-body-content p,
.entry-content p {
	margin-bottom: var(--space-lg);
}

.page-body-content h2,
.page-body-content h3,
.page-body-content h4,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: var(--space-xl);
	margin-bottom: var(--space-md);
	color: #ffffff;
}

.page-body-content ul,
.page-body-content ol,
.entry-content ul,
.entry-content ol {
	margin-bottom: var(--space-lg);
	padding-left: var(--space-xl);
}

.page-body-content blockquote,
.entry-content blockquote {
	border-left: 4px solid var(--color-primary);
	padding: var(--space-sm) var(--space-lg);
	margin: var(--space-lg) 0;
	background: rgba(229, 9, 20, 0.05);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-style: italic;
	color: var(--color-text-muted);
}

.page-links,
.tags-links {
	margin-top: var(--space-xl);
	padding-top: var(--space-md);
	border-top: 1px solid var(--color-border-subtle);
	font-size: 0.9375rem;
	color: var(--color-text-muted);
}

.tags-links a {
	color: var(--color-primary);
	text-decoration: underline;
}

/* Comments Area */
.comments-area {
	background: var(--color-bg-surface);
	border: 1px solid var(--color-border-subtle);
	border-radius: var(--radius-lg);
	padding: var(--space-2xl) var(--space-xl);
	margin-top: var(--space-2xl);
}

.comments-title,
.comment-reply-title {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: var(--space-xl);
	color: #ffffff;
}

.comment-list {
	list-style: none;
	padding: 0;
	margin: 0 0 var(--space-2xl) 0;
}

.comment-list .comment {
	border-bottom: 1px solid var(--color-border-subtle);
	padding: var(--space-lg) 0;
}

.comment-list .children {
	list-style: none;
	padding-left: var(--space-xl);
}

.comment-meta {
	font-size: 0.875rem;
	color: var(--color-text-muted);
	margin-bottom: var(--space-sm);
}

.comment-author .fn {
	font-weight: 700;
	color: #ffffff;
}

.comment-content {
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--color-text-body);
}

.comment-reply-link {
	display: inline-block;
	margin-top: var(--space-xs);
	font-size: 0.8125rem;
	color: var(--color-primary);
	font-weight: 600;
}

.comment-respond form {
	display: flex;
	flex-direction: column;
	gap: var(--space-md);
}

.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: var(--space-xs);
	color: var(--color-text-muted);
}

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
	width: 100%;
	background: var(--color-bg-card);
	border: 1px solid var(--color-border-subtle);
	border-radius: var(--radius-sm);
	padding: var(--space-sm) var(--space-md);
	color: #ffffff;
	font-family: inherit;
}

.comment-respond input[type="submit"] {
	align-self: flex-start;
	background: var(--color-primary);
	color: #ffffff;
	border: none;
	padding: 0.6rem 1.5rem;
	border-radius: var(--radius-full);
	font-weight: 600;
	cursor: pointer;
	transition: background var(--transition-fast);
}

.comment-respond input[type="submit"]:hover {
	background: var(--color-primary-hover);
}

/* Custom Search Form (Widgets, 404, Empty States) */
.custom-search-form {
	width: 100%;
	max-width: 500px;
	margin: 0 auto;
}

.custom-search-form .search-input-wrap {
	display: flex;
	align-items: center;
	background: var(--color-bg-card);
	border: 1px solid var(--color-border-subtle);
	border-radius: var(--radius-full);
	padding: 0.25rem 0.35rem 0.25rem 1rem;
	transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.custom-search-form .search-input-wrap:focus-within {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.25);
}

.custom-search-form .search-field {
	flex: 1;
	background: transparent;
	border: none;
	outline: none;
	color: #ffffff;
	font-size: 0.9375rem;
	font-family: inherit;
}

.custom-search-form .search-submit {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 1.1rem;
	font-size: 0.875rem;
	border-radius: var(--radius-full);
}

/* ==========================================================================
   Footer Layout & Clean Widget Styling
   ========================================================================== */
.site-footer {
	margin-top: 36px;
	background: var(--color-bg-base);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 24px 0;
	color: #94a3b8;
	position: relative;
}

.site-footer::before {
	display: none;
}

.footer-widgets-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 36px;
	margin-bottom: 36px;
}

.footer-widget-column .widget {
	margin-bottom: 24px;
}

.footer-widget-column .widgettitle,
.footer-widget-column .widget-title,
.footer-widget-column h2,
.footer-widget-column h3 {
	font-size: 1.15rem;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 10px;
	letter-spacing: -0.01em;
}

.footer-widget-column .widgettitle::before,
.footer-widget-column .widget-title::before,
.footer-widget-column h2::before,
.footer-widget-column h3::before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 16px;
	background: linear-gradient(to bottom, #a855f7, #06b6d4);
	border-radius: 2px;
}

.footer-widget-column ul {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-widget-column ul li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 0.875rem;
	color: #94a3b8;
	line-height: 1.5;
	padding: 4px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-widget-column ul li a {
	color: #cbd5e1;
	text-decoration: none;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.footer-widget-column ul li a:hover {
	color: #c084fc;
	transform: translateX(4px);
}

.footer-widget-column .children {
	padding-left: 14px !important;
	margin-top: 6px !important;
}

.footer-disclaimer {
	padding: 14px 18px;
	background: rgba(255, 255, 255, 0.03);
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	margin-bottom: 24px;
}

.footer-disclaimer p {
	font-size: 0.8125rem;
	color: #64748b;
	line-height: 1.6;
	margin: 0;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 0;
	border-top: none;
	gap: 16px;
	flex-wrap: wrap;
}

.copyright-text {
	font-size: 0.875rem;
	color: #64748b;
	margin: 0;
}

.footer-links-list {
	display: flex;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.footer-links-list a {
	font-size: 0.875rem;
	color: #94a3b8;
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-links-list a:hover {
	color: #ffffff;
}

/* ==========================================================================
   Modals & Popups (Request Movie, PWA Install, Video Report)
   ========================================================================== */
.drama-studio-request-modal,
.drama-studio-ios-install,
.drama-studio-video-report-modal {
	position: fixed !important;
	inset: 0 !important;
	z-index: 99999 !important;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	user-select: none;
}

.drama-studio-request-modal.is-active,
.drama-studio-ios-install.is-active,
.drama-studio-video-report-modal.is-active {
	display: flex !important;
}

.drama-studio-request-backdrop,
.drama-studio-ios-backdrop,
.video-report-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: none;
	cursor: pointer;
	z-index: 1;
	width: 100%;
	height: 100%;
}

.drama-studio-request-dialog,
.drama-studio-ios-install-card,
.video-report-dialog {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 460px;
	background: #0f0d22;
	border: 1px solid rgba(168, 85, 247, 0.35);
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(168, 85, 247, 0.2);
	border-radius: 20px;
	padding: 28px;
	color: #ffffff;
	text-align: left;
}

.drama-studio-request-close,
.drama-studio-ios-install-close,
.video-report-close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: #ffffff;
	font-size: 20px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.drama-studio-request-close:hover,
.drama-studio-ios-install-close:hover,
.video-report-close:hover {
	background: rgba(239, 68, 68, 0.8);
}

.drama-studio-request-heading-icon,
.video-report-icon,
.drama-studio-ios-install-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: rgba(168, 85, 247, 0.15);
	color: #c084fc;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
}

.drama-studio-request-dialog h2,
.drama-studio-ios-install-card h2,
.video-report-dialog h2 {
	font-size: 1.35rem;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 6px;
}

.drama-studio-request-dialog p,
.drama-studio-ios-install-card p,
.video-report-dialog p {
	font-size: 0.875rem;
	color: #94a3b8;
	margin-bottom: 18px;
}

.drama-studio-request-dialog label,
.video-report-dialog label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #cbd5e1;
	margin-bottom: 6px;
	margin-top: 12px;
}

.drama-studio-request-dialog input,
.drama-studio-request-dialog select,
.drama-studio-request-dialog textarea,
.video-report-dialog input,
.video-report-dialog select,
.video-report-dialog textarea {
	width: 100%;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	padding: 10px 14px;
	color: #ffffff;
	font-size: 0.875rem;
	font-family: inherit;
	outline: none;
	transition: border-color 0.2s ease;
}

.drama-studio-request-dialog input:focus,
.drama-studio-request-dialog select:focus,
.drama-studio-request-dialog textarea:focus,
.video-report-dialog input:focus,
.video-report-dialog select:focus,
.video-report-dialog textarea:focus {
	border-color: #a855f7;
}

.drama-studio-request-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.drama-studio-request-submit,
.video-report-submit,
.drama-studio-ios-install-done {
	margin-top: 18px;
	width: 100%;
	padding: 12px;
	border-radius: 10px;
	border: none;
	background: linear-gradient(to right, #7c3aed, #4f46e5);
	color: #ffffff;
	font-weight: 700;
	font-size: 0.9375rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.drama-studio-request-submit:hover,
.video-report-submit:hover,
.drama-studio-ios-install-done:hover {
	opacity: 0.95;
	transform: translateY(-1px);
}

/* ==========================================================================
   Frontend Member Auth Modal (Sign Up & Login)
   ========================================================================== */
.drama-studio-auth-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.auth-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(5, 4, 12, 0.88);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.auth-modal-dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 460px;
	background: rgba(15, 14, 28, 0.96);
	border: 1px solid rgba(168, 85, 247, 0.35);
	border-radius: 24px;
	padding: 32px 28px;
	box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.95), 0 0 35px rgba(124, 58, 237, 0.25);
	color: #ffffff;
	animation: dsAuthFadeIn 0.25s ease-out;
}

@keyframes dsAuthFadeIn {
	from {
		opacity: 0;
		transform: scale(0.96) translateY(10px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

.auth-modal-close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #cbd5e1;
	font-size: 1.4rem;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.auth-modal-close:hover {
	background: rgba(239, 68, 68, 0.2);
	border-color: rgba(239, 68, 68, 0.5);
	color: #ef4444;
	transform: scale(1.08);
}

.auth-modal-header {
	text-align: center;
	margin-bottom: 22px;
}

.auth-modal-badge {
	width: 54px;
	height: 54px;
	margin: 0 auto 12px;
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(6, 182, 212, 0.3));
	border: 1px solid rgba(168, 85, 247, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #a855f7;
	font-size: 1.5rem;
	box-shadow: 0 0 20px rgba(124, 58, 237, 0.35);
}

.auth-modal-badge svg {
	width: 26px;
	height: 26px;
	fill: currentColor;
}

.auth-modal-title {
	font-size: 1.3rem;
	font-weight: 800;
	color: #ffffff;
	margin-bottom: 6px;
	font-family: inherit;
}

.auth-modal-subtitle {
	font-size: 0.85rem;
	color: #94a3b8;
	line-height: 1.4;
	margin: 0;
}

.auth-modal-tabs {
	display: flex;
	gap: 6px;
	background: rgba(255, 255, 255, 0.05);
	padding: 5px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	margin-bottom: 20px;
}

.auth-tab-btn {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 12px;
	border-radius: 10px;
	border: none;
	background: transparent;
	color: #94a3b8;
	font-weight: 700;
	font-size: 0.875rem;
	cursor: pointer;
	transition: all 0.25s ease;
}

.auth-tab-btn svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.auth-tab-btn.is-active {
	background: linear-gradient(135deg, #7c3aed, #4f46e5);
	color: #ffffff;
	box-shadow: 0 4px 15px rgba(124, 58, 237, 0.45);
}

.auth-modal-alert {
	padding: 11px 14px;
	border-radius: 12px;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 16px;
	text-align: center;
	line-height: 1.4;
}

.auth-modal-alert.alert-error {
	background: rgba(239, 68, 68, 0.15);
	border: 1px solid rgba(239, 68, 68, 0.45);
	color: #fca5a5;
}

.auth-modal-alert.alert-success {
	background: rgba(16, 185, 129, 0.15);
	border: 1px solid rgba(16, 185, 129, 0.45);
	color: #6ee7b7;
}

.auth-field-group {
	margin-bottom: 15px;
	text-align: left;
}

.auth-field-group label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #cbd5e1;
	margin-bottom: 6px;
}

.auth-field-group label .required {
	color: #f43f5e;
}

.auth-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.auth-input-icon {
	position: absolute;
	left: 14px;
	color: #a855f7;
	display: flex;
	align-items: center;
	font-size: 1rem;
	pointer-events: none;
}

.auth-input-icon svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.auth-input-wrap input {
	width: 100%;
	padding: 11px 14px 11px 44px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #ffffff;
	font-size: 0.9375rem;
	transition: all 0.25s ease;
	outline: none;
	font-family: inherit;
}

.auth-input-wrap input:focus {
	border-color: #a855f7;
	background: rgba(255, 255, 255, 0.08);
	box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.25);
}

.auth-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.auth-note-badge {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 9px 12px;
	border-radius: 10px;
	background: rgba(124, 58, 237, 0.12);
	border: 1px solid rgba(124, 58, 237, 0.28);
	font-size: 0.775rem;
	color: #c4b5fd;
	margin-bottom: 18px;
	line-height: 1.45;
}

.auth-submit-btn {
	width: 100%;
	padding: 13px;
	border-radius: 12px;
	border: none;
	background: linear-gradient(135deg, #7c3aed, #06b6d4);
	color: #ffffff;
	font-weight: 800;
	font-size: 0.95rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	box-shadow: 0 8px 25px rgba(124, 58, 237, 0.45);
	transition: all 0.25s ease;
	font-family: inherit;
}

.auth-submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(124, 58, 237, 0.6);
	filter: brightness(1.08);
}

.auth-submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

/* Social Login Divider */
.auth-divider {
	display: flex;
	align-items: center;
	margin: 20px 0 16px;
	text-align: center;
	color: #94a3b8;
	font-size: 0.8rem;
	font-weight: 600;
}

.auth-divider::before,
.auth-divider::after {
	content: '';
	flex: 1;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-divider span {
	padding: 0 12px;
	color: #a78bfa;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 0.75rem;
}

/* Social Login Buttons */
.auth-social-buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: 4px;
}

.auth-social-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 11px 16px;
	border-radius: 12px;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none !important;
	cursor: pointer;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid transparent;
	font-family: inherit;
	box-sizing: border-box;
}

.auth-social-icon {
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

/* Google Button */
.auth-social-btn.btn-google {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.14);
	color: #f8fafc;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.auth-social-btn.btn-google:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.28);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(255, 255, 255, 0.08);
}

.auth-social-btn.btn-google:hover .auth-social-icon {
	transform: scale(1.1);
}

/* Telegram Button */
.auth-social-btn.btn-telegram {
	background: linear-gradient(135deg, rgba(34, 158, 217, 0.18), rgba(0, 136, 204, 0.28));
	border-color: rgba(34, 158, 217, 0.45);
	color: #38bdf8;
	box-shadow: 0 4px 14px rgba(34, 158, 217, 0.15);
}

.auth-social-btn.btn-telegram:hover {
	background: linear-gradient(135deg, #229ed9, #0088cc);
	border-color: #229ed9;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 6px 22px rgba(34, 158, 217, 0.45);
}

.auth-social-btn.btn-telegram:hover .auth-social-icon {
	transform: scale(1.1);
}

/* Telegram Session Pane */
.auth-telegram-pane {
	padding: 10px 0;
	animation: dsFadeIn 0.3s ease;
}

.auth-tg-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 10px 10px 15px;
}

.auth-tg-icon-circle {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: linear-gradient(135deg, #229ed9, #0088cc);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 0 8px rgba(34, 158, 217, 0.18), 0 8px 25px rgba(34, 158, 217, 0.4);
	margin-bottom: 18px;
	animation: dsPulseRing 2s infinite ease-in-out;
}

@keyframes dsPulseRing {
	0% {
		box-shadow: 0 0 0 0 rgba(34, 158, 217, 0.4), 0 8px 25px rgba(34, 158, 217, 0.4);
	}
	70% {
		box-shadow: 0 0 0 16px rgba(34, 158, 217, 0), 0 8px 25px rgba(34, 158, 217, 0.4);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(34, 158, 217, 0), 0 8px 25px rgba(34, 158, 217, 0.4);
	}
}

.auth-tg-title {
	font-size: 1.25rem;
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 8px;
}

.auth-tg-desc {
	font-size: 0.85rem;
	color: #94a3b8;
	line-height: 1.5;
	max-width: 320px;
	margin: 0 0 20px;
}

.auth-tg-launch-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 13px 20px;
	border-radius: 12px;
	background: linear-gradient(135deg, #229ed9, #0088cc);
	color: #ffffff !important;
	font-weight: 800;
	font-size: 0.95rem;
	text-decoration: none !important;
	box-shadow: 0 8px 25px rgba(34, 158, 217, 0.4);
	transition: all 0.25s ease;
	margin-bottom: 16px;
}

.auth-tg-launch-btn:hover {
	transform: translateY(-2px);
	filter: brightness(1.1);
	box-shadow: 0 12px 30px rgba(34, 158, 217, 0.6);
}

.auth-tg-status,
.auth-tg-status-box {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 0.825rem;
	color: #38bdf8;
	padding: 8px 14px;
	background: rgba(34, 158, 217, 0.1);
	border: 1px solid rgba(34, 158, 217, 0.25);
	border-radius: 20px;
	margin-bottom: 16px;
}

.auth-tg-spinner {
	display: inline-block;
	animation: dsSpin 1.5s infinite linear;
}

@keyframes dsSpin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

.auth-tg-back-btn {
	background: transparent;
	border: none;
	color: #94a3b8;
	font-size: 0.825rem;
	font-weight: 600;
	cursor: pointer;
	padding: 6px 12px;
	border-radius: 8px;
	transition: all 0.2s ease;
	font-family: inherit;
}

.auth-tg-back-btn:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 480px) {
	.auth-social-buttons {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   NEATIDRAMA CUSTOM VIDEO PLAYER & DIRECT STREAMING WATCH PAGE
   ========================================================================== */

.neatidrama-watch-page {
	min-height: 100vh;
	background: #070614;
	color: #f8fafc;
	padding-top: 1rem;
	padding-bottom: 4rem;
}

.neatidrama-container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 16px;
}

/* 1. Complete Suppression of Top Bar & Aspect Ratio Switchers (100% Auto-Detected) */
.neatidrama-top-bar,
.format-badge-text,
.neatidrama-aspect-toggle,
#neatidramaAspectToggle,
#inPlayerAspectBtn,
.js-in-player-aspect,
.aspect-quick-label,
#neatidramaSubAspectToggle,
.js-sub-aspect-toggle,
.btn-neo-aspect,
#ctrlAspectBtnEmbed,
.ctrl-aspect-btn {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
	height: 0 !important;
	width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	position: absolute !important;
	top: -9999px !important;
	left: -9999px !important;
}

/* 2. Video Player Stage & Responsive Aspect Ratio Modes */
.neatidrama-player-stage {
	position: relative;
	margin: 0 auto 1.5rem;
	transition: max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Portrait (9:16) Mode */
.neatidrama-player-stage.player-mode-portrait:not(.is-fullscreen) {
	max-width: 440px;
	width: 100%;
}

.neatidrama-player-stage.player-mode-portrait:not(.is-fullscreen) .player-viewport {
	aspect-ratio: 9 / 16;
	max-height: calc(100vh - 130px);
}

/* Widescreen (16:9) Mode */
.neatidrama-player-stage.player-mode-widescreen:not(.is-fullscreen) {
	max-width: 1080px;
	width: 100%;
}

.neatidrama-player-stage.player-mode-widescreen:not(.is-fullscreen) .player-viewport {
	aspect-ratio: 16 / 9;
	max-height: calc(100vh - 140px);
}

/* Player Outer Container - Frameless Seamless Cinema Design */
.neatidrama-player-container {
	position: relative;
	width: 100%;
	border-radius: 20px;
	overflow: hidden;
	background: transparent;
	border: none;
	box-shadow: 0 16px 45px rgba(0, 0, 0, 0.75);
}

.player-ambient-glow {
	position: absolute;
	inset: -25px;
	background: radial-gradient(circle, rgba(99, 102, 241, 0.16) 0%, transparent 70%);
	pointer-events: none;
	z-index: 0;
	filter: blur(35px);
	opacity: 0.5;
}

.player-viewport {
	position: relative;
	width: 100%;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border-radius: 20px;
	z-index: 1;
	transition: aspect-ratio 0.35s cubic-bezier(0.4, 0, 0.2, 1), max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.neatidrama-video-element {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	background: transparent !important;
	border-radius: 20px;
	display: block;
}

/* Masked 3rd Party Embed Container */
.embed-shield-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: transparent;
	border-radius: 20px;
}

.embed-shield-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* ==========================================================================
   Full Cinema Fullscreen Engine - 100% True Edge-to-Edge (Zero Bottom Black Bar)
   ========================================================================== */
:fullscreen,
:-webkit-full-screen,
:-moz-full-screen,
:-ms-fullscreen {
	background-color: #000000 !important;
}

/* 1. Fullscreen Container */
.neatidrama-player-container:fullscreen,
.neatidrama-player-container:-webkit-full-screen,
.neatidrama-player-container:-moz-full-screen,
.neatidrama-player-container:-ms-fullscreen,
.neatidrama-player-container.is-fullscreen,
.neatidrama-player-container.is-fullscreen-fallback {
	position: fixed !important;
	inset: 0 !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100vw !important;
	width: 100% !important;
	height: 100vh !important;
	height: 100dvh !important;
	max-width: 100vw !important;
	max-height: 100vh !important;
	max-height: 100dvh !important;
	z-index: 9999999 !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 0 !important;
	border: none !important;
	box-shadow: none !important;
	background: #000000 !important;
	overflow: hidden !important;
}

/* 2. Fullscreen Stage Override */
.neatidrama-player-stage.is-fullscreen {
	max-width: 100vw !important;
	width: 100vw !important;
	height: 100vh !important;
	height: 100dvh !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* 3. Fullscreen Viewport - Complete 100% Fullscreen, Overrides All Aspect Ratios and Max Heights */
.neatidrama-player-container:fullscreen .player-viewport,
.neatidrama-player-container:-webkit-full-screen .player-viewport,
.neatidrama-player-container:-moz-full-screen .player-viewport,
.neatidrama-player-container:-ms-fullscreen .player-viewport,
.neatidrama-player-container.is-fullscreen .player-viewport,
.neatidrama-player-container.is-fullscreen-fallback .player-viewport {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	max-height: 100dvh !important;
	aspect-ratio: auto !important;
	border-radius: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: #000000 !important;
}

/* 4. Fullscreen Video Element - 100% Height and Width with Cover for Zero Black Space */
.neatidrama-player-container:fullscreen .neatidrama-video-element,
.neatidrama-player-container:-webkit-full-screen .neatidrama-video-element,
.neatidrama-player-container:-moz-full-screen .neatidrama-video-element,
.neatidrama-player-container:-ms-fullscreen .neatidrama-video-element,
.neatidrama-player-container.is-fullscreen .neatidrama-video-element,
.neatidrama-player-container.is-fullscreen-fallback .neatidrama-video-element {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: cover !important;
	border-radius: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* 5. Fullscreen Embed Iframe Shield */
.neatidrama-player-container:fullscreen .embed-shield-wrapper,
.neatidrama-player-container:-webkit-full-screen .embed-shield-wrapper,
.neatidrama-player-container:-moz-full-screen .embed-shield-wrapper,
.neatidrama-player-container:-ms-fullscreen .embed-shield-wrapper,
.neatidrama-player-container.is-fullscreen .embed-shield-wrapper,
.neatidrama-player-container.is-fullscreen-fallback .embed-shield-wrapper {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	border-radius: 0 !important;
}

.neatidrama-player-container:fullscreen .embed-shield-wrapper iframe,
.neatidrama-player-container:-webkit-full-screen .embed-shield-wrapper iframe,
.neatidrama-player-container:-moz-full-screen .embed-shield-wrapper iframe,
.neatidrama-player-container:-ms-fullscreen .embed-shield-wrapper iframe,
.neatidrama-player-container.is-fullscreen .embed-shield-wrapper iframe,
.neatidrama-player-container.is-fullscreen-fallback .embed-shield-wrapper iframe {
	width: 100% !important;
	height: 100% !important;
	border-radius: 0 !important;
}

/* 6. Fullscreen Controls Bar - Anchored to absolute bottom of device screen with safe-area padding */
.neatidrama-player-container:fullscreen .neatidrama-controls-bar,
.neatidrama-player-container:-webkit-full-screen .neatidrama-controls-bar,
.neatidrama-player-container:-moz-full-screen .neatidrama-controls-bar,
.neatidrama-player-container:-ms-fullscreen .neatidrama-controls-bar,
.neatidrama-player-container.is-fullscreen .neatidrama-controls-bar,
.neatidrama-player-container.is-fullscreen-fallback .neatidrama-controls-bar,
.neatidrama-player-container:fullscreen .neatidrama-embed-controls-bar,
.neatidrama-player-container:-webkit-full-screen .neatidrama-embed-controls-bar,
.neatidrama-player-container:-moz-full-screen .neatidrama-embed-controls-bar,
.neatidrama-player-container:-ms-fullscreen .neatidrama-embed-controls-bar,
.neatidrama-player-container.is-fullscreen .neatidrama-embed-controls-bar,
.neatidrama-player-container.is-fullscreen-fallback .neatidrama-embed-controls-bar {
	border-radius: 0 !important;
	bottom: 0 !important;
	padding-bottom: max(22px, env(safe-area-inset-bottom, 22px)) !important;
	padding-left: max(20px, env(safe-area-inset-left, 20px)) !important;
	padding-right: max(20px, env(safe-area-inset-right, 20px)) !important;
}

/* Prevent body scrolling when fullscreen is active */
body.drama-player-is-fullscreen {
	overflow: hidden !important;
}

/* 1. NeatiDrama Exact Top Branded Header */
.player-top-header {
	display: none !important;
}

.player-top-header-left {
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 65%;
	overflow: hidden;
}

.player-brand-pill {
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(99, 102, 241, 0.25);
	border: 1px solid rgba(99, 102, 241, 0.45);
	font-size: 10px;
	font-weight: 900;
	color: #a5b4fc;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	flex-shrink: 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.player-title-text {
	font-size: 12px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.92);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.player-top-header-right {
	display: flex;
	align-items: center;
	gap: 8px;
}

.player-hd-badge {
	pointer-events: auto;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
	user-select: none;
	cursor: default;
}

.player-hd-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #34d399;
	box-shadow: 0 0 10px #34d399;
	animation: pulseLiveDot 2s infinite ease-in-out;
}

.player-hd-text {
	font-size: 11px;
	font-weight: 900;
	color: #fcd34d;
	letter-spacing: 0.5px;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* 2. Top-Right Corner Shield (Blocks 3rd party watermarks) */
.embed-corner-shield {
	position: absolute;
	top: 0;
	right: 0;
	width: 112px;
	height: 75px;
	z-index: 30;
	pointer-events: auto;
	cursor: default;
	background: transparent;
}

/* 3. Resume from Last Position Toast */
.player-resume-toast {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 32;
	padding: 6px 14px;
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.88);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	font-size: 12px;
	font-weight: 600;
	color: #34d399;
	display: flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
	animation: dsFadeIn 0.3s ease;
}

.player-resume-toast .resume-restart-btn {
	background: none;
	border: none;
	color: #e2e8f0;
	text-decoration: underline;
	font-size: 11px;
	font-weight: 700;
	cursor: pointer;
	padding: 2px 4px;
	font-family: inherit;
}

.player-resume-toast .resume-restart-btn:hover {
	color: #ffffff;
}

.player-resume-toast .resume-close-btn {
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: #94a3b8;
	width: 20px;
	height: 20px;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 10px;
	margin-left: 2px;
}

.player-resume-toast .resume-close-btn:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.2);
}

/* 4. Speed Boost Indicator Badge */
.player-speed-boost-badge {
	position: absolute;
	top: 18px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 35;
	padding: 6px 16px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.88);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(251, 191, 36, 0.5);
	color: #fcd34d;
	font-size: 12px;
	font-weight: 800;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
	display: flex;
	align-items: center;
	gap: 6px;
	pointer-events: none;
	user-select: none;
	animation: dsPulseRing 1.5s infinite;
}

/* 5. Double-Tap Seek Ripples */
.seek-ripple {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 45%;
	z-index: 28;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	pointer-events: none;
	animation: dsFadeIn 0.2s ease;
}

.seek-ripple-left {
	left: 0;
	border-top-left-radius: 24px;
	border-bottom-left-radius: 24px;
}

.seek-ripple-right {
	right: 0;
	border-top-right-radius: 24px;
	border-bottom-right-radius: 24px;
}

.seek-ripple-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	color: #ffffff;
}

.seek-ripple-icon {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.65);
	border: 1px solid rgba(255, 255, 255, 0.25);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #818cf8;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.seek-ripple-label {
	font-size: 13px;
	font-weight: 900;
	font-family: monospace;
	letter-spacing: 0.5px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Click Overlay on Video Surface */
.player-overlay-click-zone {
	position: absolute;
	inset: 0;
	z-index: 6;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

/* Instant Tap/Click Ripple Indicator on Video Surface */
.player-surface-ripple {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.6);
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: rgba(10, 12, 24, 0.72);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1.5px solid rgba(255, 255, 255, 0.35);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 15;
	pointer-events: none;
	opacity: 0;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.player-surface-ripple.is-animating {
	animation: dsSurfacePulse 0.48s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dsSurfacePulse {
	0% {
		opacity: 0;
		transform: translate(-50%, -50%) scale(0.5);
	}
	35% {
		opacity: 0.95;
		transform: translate(-50%, -50%) scale(1.15);
	}
	100% {
		opacity: 0;
		transform: translate(-50%, -50%) scale(1.4);
	}
}

.neatidrama-player-container:not(.player-type-embed) .embed-corner-shield {
	display: none !important;
	pointer-events: none !important;
}

/* Big Center Play/Pause Overlay */
.player-center-play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(1);
	background: none;
	border: none;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 12;
	padding: 0;
	transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	opacity: 1;
	pointer-events: auto;
}

.center-play-glow {
	position: absolute;
	inset: -14px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(99, 102, 241, 0.45) 0%, rgba(56, 189, 248, 0.25) 50%, transparent 75%);
	filter: blur(16px);
	opacity: 0.85;
	animation: dsPulseRing 2.4s infinite ease-in-out;
	pointer-events: none;
}

.center-play-circle {
	position: relative;
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background: rgba(10, 12, 24, 0.65);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1.5px solid rgba(255, 255, 255, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65), inset 0 1px 2px rgba(255, 255, 255, 0.2);
	transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.player-center-play-btn:hover .center-play-circle {
	transform: scale(1.1);
	background: rgba(28, 32, 60, 0.82);
	border-color: rgba(255, 255, 255, 0.6);
	box-shadow: 0 16px 42px rgba(0, 0, 0, 0.75), 0 0 24px rgba(99, 102, 241, 0.55);
}

.player-center-play-btn:active .center-play-circle {
	transform: scale(0.95);
}

.player-center-play-btn .center-play-icon {
	width: 34px;
	height: 34px;
	margin-left: 4px;
	fill: #ffffff;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7));
}

.player-center-play-btn .center-pause-icon {
	width: 28px;
	height: 28px;
	fill: #ffffff;
}

/* When video is playing: hide center play button cleanly so it doesn't block the video */
.neatidrama-player-container.is-playing:not(.show-controls) .player-center-play-btn {
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -50%) scale(0.85);
}

.neatidrama-player-container:not(.is-playing) .player-center-play-btn {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, -50%) scale(1);
}

/* Buffering Spinner */
.player-buffering-spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 9;
	display: none;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	pointer-events: none;
}

.player-buffering-spinner.is-buffering {
	display: flex;
}

.spinner-ring {
	width: 48px;
	height: 48px;
	border: 3.5px solid rgba(255, 255, 255, 0.2);
	border-top-color: #6366f1;
	border-radius: 50%;
	animation: dsSpin 0.9s infinite linear;
}

.spinner-text {
	font-size: 12px;
	font-weight: 700;
	color: #ffffff;
	text-shadow: 0 2px 6px rgba(0,0,0,0.8);
	animation: pulseLiveDot 2s infinite ease-in-out;
}

/* Floating In-Player Actions */
.player-floating-actions {
	position: absolute;
	top: 60px;
	right: 14px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	z-index: 15;
	pointer-events: auto;
	transition: opacity 0.25s ease;
}

.player-floating-actions .floating-btn {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(14, 15, 30, 0.7);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	backdrop-filter: blur(8px);
	transition: all 0.2s ease;
}

.player-floating-actions .floating-btn:hover {
	background: #1f2144;
	border-color: #6366f1;
	color: #ffffff;
	transform: scale(1.08);
}

.aspect-quick-label {
	font-size: 10px;
	font-weight: 700;
	color: #a5b4fc;
}

/* ==========================================================================
   Bottom Controls Bar - Clean Minimalist Stream Style (Fluid Responsive Auto-Scaling)
   ========================================================================== */
.neatidrama-controls-bar {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: clamp(20px, 4.5vw, 32px) clamp(10px, 2.8vw, 20px) clamp(10px, 2.5vw, 16px);
	background: linear-gradient(180deg, transparent 0%, rgba(5, 7, 15, 0.45) 30%, rgba(5, 7, 15, 0.95) 100%);
	z-index: 18;
	display: flex;
	flex-direction: column;
	gap: clamp(6px, 1.6vw, 12px);
	pointer-events: auto;
	transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border-bottom-left-radius: inherit;
	border-bottom-right-radius: inherit;
	box-sizing: border-box;
}

.neatidrama-player-container.is-playing:not(.show-controls) .neatidrama-controls-bar {
	opacity: 0;
	transform: translateY(6px);
	pointer-events: none;
}

.neatidrama-player-container.is-playing.show-controls .neatidrama-controls-bar,
.neatidrama-player-container:not(.is-playing) .neatidrama-controls-bar {
	opacity: 1;
	transform: translateY(0);
}

/* Scrubber / Progress Bar - High-End Neo Purple - Blue Luxury Glow Design */
.player-progress-area {
	position: relative;
	width: 100%;
	height: 22px;
	display: flex;
	align-items: center;
	cursor: pointer;
	touch-action: manipulation;
}

.player-progress-track {
	position: relative;
	width: 100%;
	height: 5px;
	background: rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	overflow: visible;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
	transition: height 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.player-progress-area:hover .player-progress-track {
	height: 7px;
}

.player-progress-buffered {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background: rgba(147, 197, 253, 0.38);
	border-radius: 999px;
	width: 0%;
	transition: width 0.2s ease;
}

.player-progress-fill {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background: linear-gradient(90deg, #7c3aed 0%, #a855f7 35%, #6366f1 70%, #38bdf8 100%);
	border-radius: 999px;
	width: 0%;
	box-shadow: 0 0 14px rgba(168, 85, 247, 0.8), 0 0 8px rgba(56, 189, 248, 0.7);
}

.player-progress-handle {
	position: absolute;
	top: 50%;
	left: 0%;
	transform: translate(-50%, -50%);
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: radial-gradient(circle, #ffffff 28%, #38bdf8 65%, #8b5cf6 100%);
	border: 2px solid #ffffff;
	box-shadow: 0 0 12px #38bdf8, 0 0 16px rgba(168, 85, 247, 0.9), 0 2px 6px rgba(0, 0, 0, 0.7);
	pointer-events: none;
	transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.18s ease;
}

.player-progress-area:hover .player-progress-handle {
	transform: translate(-50%, -50%) scale(1.35);
	box-shadow: 0 0 16px #38bdf8, 0 0 24px rgba(168, 85, 247, 1), 0 2px 8px rgba(0, 0, 0, 0.8);
}

.player-progress-tooltip {
	position: absolute;
	bottom: 26px;
	left: 0;
	transform: translateX(-50%);
	background: rgba(13, 15, 33, 0.96);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(139, 92, 246, 0.45);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	padding: 4px 10px;
	border-radius: 8px;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.15s ease;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7), 0 0 12px rgba(139, 92, 246, 0.35);
}

/* Controls Buttons Row - ALWAYS 1 Single Compact Line (Zero Wrapping) */
.player-controls-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: clamp(4px, 1.4vw, 10px);
	flex-wrap: nowrap !important;
	box-sizing: border-box;
}

.controls-group-left,
.controls-group-right {
	display: flex;
	align-items: center;
	gap: clamp(4px, 1.2vw, 10px);
	flex-shrink: 0;
	min-width: 0;
}

/* Fluid Auto-Scaling Capsule Buttons */
.ctrl-play-capsule,
.ctrl-capsule-btn,
.quality-capsule,
.ctrl-speed-btn,
.ctrl-fs-capsule {
	height: clamp(30px, 7.5vw, 40px);
	border-radius: clamp(8px, 1.8vw, 12px);
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: clamp(10.5px, 2.5vw, 13.5px);
	font-weight: 700;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
	user-select: none;
	flex-shrink: 0;
}

/* Capsule Play / Pause Button */
.ctrl-play-capsule {
	width: clamp(34px, 8.5vw, 42px);
	padding: 0;
}

.ctrl-play-capsule:hover {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.18);
	color: #ffffff;
	transform: translateY(-1px);
}

.ctrl-play-capsule:active {
	transform: scale(0.96);
	background: rgba(255, 255, 255, 0.05);
}

.ctrl-play-capsule svg {
	width: clamp(15px, 3.8vw, 20px);
	height: clamp(15px, 3.8vw, 20px);
	fill: currentColor;
}

/* Clean Volume Control */
.volume-control-wrap {
	display: flex;
	align-items: center;
	gap: 2px;
	flex-shrink: 0;
}

.ctrl-icon-btn {
	background: transparent;
	border: none;
	color: #ffffff;
	cursor: pointer;
	padding: clamp(3px, 1vw, 6px);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s ease, transform 0.2s ease;
	flex-shrink: 0;
}

.ctrl-icon-btn:hover {
	color: #38bdf8;
	transform: scale(1.08);
}

.ctrl-icon-btn svg {
	display: block;
	width: clamp(16px, 4vw, 22px);
	height: clamp(16px, 4vw, 22px);
}

.volume-slider-box {
	width: 0;
	overflow: hidden;
	transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	align-items: center;
}

.volume-control-wrap:hover .volume-slider-box,
.volume-control-wrap:focus-within .volume-slider-box {
	width: 55px;
}

.volume-slider {
	width: 50px;
	height: 4px;
	-webkit-appearance: none;
	appearance: none;
	background: rgba(255, 255, 255, 0.25);
	border-radius: 999px;
	outline: none;
	cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 0 6px rgba(56, 189, 248, 0.8);
	cursor: pointer;
}

/* Clean Fluid Auto-Scaling Time Display (e.g. 1:10 / 47:38) */
.player-time-display {
	font-size: clamp(10px, 2.5vw, 13.5px);
	font-weight: 700;
	color: #ffffff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-variant-numeric: tabular-nums;
	display: inline-flex;
	align-items: center;
	gap: 2px;
	user-select: none;
	letter-spacing: normal;
	white-space: nowrap;
	flex-shrink: 0;
}

.player-time-display .time-sep {
	color: rgba(255, 255, 255, 0.6);
	margin: 0 1px;
	font-weight: 500;
}

/* Right Group Capsules (Quality, Speed, Fullscreen) */
.quality-badge-wrap {
	display: inline-flex;
	flex-shrink: 0;
}

.quality-capsule {
	padding: 0 clamp(6px, 1.8vw, 12px);
	gap: clamp(3px, 0.8vw, 6px);
}

.quality-capsule .gear-icon {
	stroke: #818cf8;
	width: clamp(12px, 3vw, 16px);
	height: clamp(12px, 3vw, 16px);
	flex-shrink: 0;
}

.quality-capsule .quality-label-text {
	color: #ffffff;
	font-size: clamp(10px, 2.5vw, 13px);
	font-weight: 700;
	white-space: nowrap;
}

.ctrl-speed-btn {
	padding: 0 clamp(6px, 1.5vw, 10px);
	min-width: clamp(28px, 6.8vw, 38px);
	color: #ffffff;
	font-size: clamp(10px, 2.5vw, 13px);
	font-weight: 700;
	white-space: nowrap;
}

.ctrl-fs-capsule {
	width: clamp(30px, 7.5vw, 38px);
	padding: 0;
}

.ctrl-fs-capsule svg {
	width: clamp(14px, 3.5vw, 18px);
	height: clamp(14px, 3.5vw, 18px);
}

.ctrl-capsule-btn:hover,
.quality-capsule:hover,
.ctrl-speed-btn:hover,
.ctrl-fs-capsule:hover {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.2);
	color: #ffffff;
	transform: translateY(-1px);
}

.ctrl-capsule-btn:active,
.quality-capsule:active,
.ctrl-speed-btn:active,
.ctrl-fs-capsule:active {
	transform: scale(0.96);
	background: rgba(255, 255, 255, 0.05);
}

/* Extra Compact Optimization for Mobile Screens <= 420px */
@media (max-width: 420px) {
	.neatidrama-controls-bar {
		padding: 18px 8px 10px 8px;
		gap: 8px;
	}
	.player-controls-row {
		gap: 3px;
	}
	.controls-group-left,
	.controls-group-right {
		gap: 3px;
	}
	.volume-slider-box {
		display: none !important;
	}
	.quality-capsule .gear-icon {
		display: none;
	}
}

/* ==========================================================================
   Embed Mode & 3rd-Party Player Optimizations
   ========================================================================== */
.neatidrama-player-container.player-type-embed .player-progress-area,
.neatidrama-player-container.player-type-embed .volume-control-wrap,
.neatidrama-player-container.player-type-embed .player-time-display,
.neatidrama-player-container.player-type-embed .quality-badge-wrap,
.neatidrama-player-container.player-type-embed .ctrl-speed-btn,
.neatidrama-player-container.player-type-embed #ctrlPipBtn,
.neatidrama-player-container.player-type-embed #ctrlPlayPauseBtn {
	display: none !important;
}

.neatidrama-player-container.player-type-embed #ctrlReloadBtn {
	display: inline-flex !important;
}

.neatidrama-player-container.player-type-embed .player-overlay-click-zone,
.neatidrama-player-container.player-type-embed .player-center-play-btn,
.neatidrama-player-container.player-type-youtube .player-center-play-btn {
	display: none !important;
	pointer-events: none !important;
}

/* Sleek Floating Utility Bar for Embeds - Neo Style */
.neatidrama-embed-controls-bar {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: linear-gradient(180deg, rgba(12, 14, 28, 0) 0%, rgba(12, 14, 28, 0.88) 40%, rgba(10, 11, 22, 0.98) 100%);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	z-index: 18;
	pointer-events: auto !important;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.embed-controls-left,
.embed-controls-right {
	display: flex;
	align-items: center;
	gap: 10px;
}

.neatidrama-embed-controls-bar .ctrl-btn {
	pointer-events: auto !important;
}

/* Auto-hide embed controls bar after timeout when playing */
.neatidrama-player-container.is-playing:not(.show-controls) .neatidrama-embed-controls-bar {
	opacity: 0;
	transform: translateY(6px);
	pointer-events: none !important;
}

/* Reload Button Hover Animation */
.ctrl-reload-btn svg {
	transition: transform 0.4s ease;
}

.ctrl-reload-btn:hover svg {
	transform: rotate(180deg);
}

/* ==========================================================================
   Action Console Below Video Player - Neo Style
   ========================================================================== */
.neatidrama-meta-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 1.25rem;
	margin-bottom: 1.5rem;
	padding: 18px 22px;
	background: linear-gradient(145deg, #15172b, #0d0f1e);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.1);
	flex-wrap: wrap;
}

.neatidrama-video-title {
	font-size: 1.45rem;
	font-weight: 800;
	color: #ffffff;
	line-height: 1.4;
	margin: 0 0 6px 0;
	font-family: 'Kantumruy Pro', 'Siemreap', sans-serif;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.neatidrama-title-text {
	display: inline;
	vertical-align: middle;
}

.neatidrama-type-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 3px 12px;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.35;
	vertical-align: middle;
	white-space: nowrap;
	text-decoration: none;
	user-select: none;
}

.badge-single-movie {
	background: linear-gradient(135deg, rgba(239, 68, 68, 0.18), rgba(220, 38, 38, 0.28));
	border: 1px solid rgba(239, 68, 68, 0.45);
	color: #fca5a5;
	box-shadow: 0 2px 10px rgba(239, 68, 68, 0.25);
}

.badge-series-total {
	background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(124, 58, 237, 0.3));
	border: 1px solid rgba(165, 180, 252, 0.35);
	color: #c7d2fe;
	box-shadow: 0 2px 10px rgba(99, 102, 241, 0.25);
}

.neatidrama-ep-meta-row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.neatidrama-ep-subtitle {
	font-size: 0.925rem;
	font-weight: 700;
	color: #818cf8;
	letter-spacing: 0.2px;
}

.neatidrama-ep-total-tag {
	font-size: 0.8rem;
	font-weight: 600;
	color: #94a3b8;
	background: rgba(255, 255, 255, 0.05);
	padding: 2px 8px;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.meta-actions-col {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

/* Neo Action Buttons */
.neatidrama-action-btn {
	cursor: pointer;
	border-radius: 999px;
	font-family: inherit;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: linear-gradient(145deg, #1c203d, #121427);
	color: #cbd5e1;
	box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5), -2px -2px 6px rgba(255, 255, 255, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.15);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	font-size: 0.88rem;
	font-weight: 700;
	user-select: none;
}

.neatidrama-action-btn:hover {
	background: linear-gradient(145deg, #24294d, #161830);
	border-color: rgba(99, 102, 241, 0.6);
	color: #ffffff;
	box-shadow: 0 0 16px rgba(99, 102, 241, 0.35), 4px 4px 12px rgba(0, 0, 0, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.25);
	transform: translateY(-2px);
}

.neatidrama-action-btn:active {
	background: linear-gradient(145deg, #101222, #1a1d37);
	box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.7), inset -1px -1px 2px rgba(255, 255, 255, 0.04);
	transform: translateY(1px);
}

.neatidrama-action-btn.is-disabled,
.neatidrama-action-btn[disabled] {
	opacity: 0.4;
	cursor: not-allowed;
	pointer-events: none;
	box-shadow: none;
}

/* Hero Next Episode Button */
.btn-neo-next {
	background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
	color: #ffffff;
	border: 1px solid rgba(165, 180, 252, 0.4);
	box-shadow: 0 4px 18px rgba(99, 102, 241, 0.5), 3px 3px 8px rgba(0, 0, 0, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.btn-neo-next:hover {
	background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
	box-shadow: 0 6px 24px rgba(99, 102, 241, 0.7), inset 0 1px 2px rgba(255, 255, 255, 0.5);
	transform: translateY(-2px) scale(1.02);
}

.btn-share-capsule {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 10px 18px;
	font-size: 0.88rem;
	font-weight: 700;
}

.btn-bookmark-square {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.btn-bookmark-square.is-bookmarked {
	background: linear-gradient(145deg, #3730a3, #1e1b4b);
	border-color: #6366f1;
	color: #a5b4fc;
	box-shadow: 0 0 16px rgba(99, 102, 241, 0.55), inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.btn-bookmark-square.is-bookmarked .bookmark-svg-empty {
	display: none;
}

.btn-bookmark-square.is-bookmarked .bookmark-svg-filled {
	display: block !important;
}

/* Divider */
.neatidrama-divider {
	width: 100%;
	height: 1px;
	background: rgba(255, 255, 255, 0.08);
	margin: 1.5rem 0;
}

/* Episodes Section - Neo Style */
.neatidrama-episodes-section {
	margin-bottom: 2rem;
}

.episodes-header-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 1rem;
}

.episodes-heading {
	font-size: 1.15rem;
	font-weight: 800;
	color: #ffffff;
	margin: 0;
}

.episodes-count-circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: #262846;
	color: #cbd5e1;
	font-size: 0.725rem;
	font-weight: 700;
}

.episodes-pills-container {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ep-badge-btn {
	width: 40px;
	height: 40px;
	min-width: 40px;
	padding: 0;
	border-radius: 50%;
	font-size: 0.9rem;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: linear-gradient(145deg, #1b1e39, #111325);
	color: #94a3b8;
	box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5), -1px -1px 3px rgba(255, 255, 255, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.ep-badge-btn:hover {
	background: linear-gradient(145deg, #252a50, #161830);
	border-color: rgba(99, 102, 241, 0.6);
	color: #ffffff;
	box-shadow: 0 0 14px rgba(99, 102, 241, 0.45), 3px 3px 8px rgba(0, 0, 0, 0.6);
	transform: translateY(-2px) scale(1.05);
}

.ep-badge-btn:active {
	background: linear-gradient(145deg, #0e1020, #191c36);
	box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.7), inset -1px -1px 2px rgba(255, 255, 255, 0.04);
	transform: translateY(1px);
}

.ep-badge-btn.is-active {
	background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%) !important;
	border-color: #a5b4fc !important;
	color: #ffffff !important;
	box-shadow: 0 0 18px rgba(99, 102, 241, 0.7), inset 0 1px 2px rgba(255, 255, 255, 0.4) !important;
	transform: scale(1.06);
}

@media (max-width: 600px) {
	.ep-badge-btn {
		width: 36px;
		height: 36px;
		min-width: 36px;
		font-size: 0.825rem;
	}
}

/* 6. "រឿងដែលអ្នកប្រហែលជាចូលចិត្ត" Section (Exactly 6 Posters Grid) */
.neatidrama-recommended-section {
	margin-top: 2rem;
}

.neatidrama-recommended-section .section-title-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 1.25rem;
}

.neatidrama-recommended-section .section-accent-bar {
	display: inline-block;
	width: 4px;
	height: 22px;
	background: #38bdf8;
	border-radius: 4px;
}

.neatidrama-recommended-section .section-title {
	font-size: 1.25rem;
	font-weight: 800;
	color: #ffffff;
	margin: 0;
	font-family: 'Kantumruy Pro', 'Siemreap', sans-serif;
}

.neatidrama-posters-grid-6 {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 16px;
}

.no-recommendations-text {
	color: #94a3b8;
	font-size: 0.95rem;
	padding: 1rem 0;
}

/* 7. Toast Notification */
.neatidrama-toast {
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%) translateY(50px);
	background: #1e1b4b;
	border: 1px solid #6366f1;
	color: #ffffff;
	padding: 10px 22px;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 600;
	opacity: 0;
	pointer-events: none;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 9999;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(99, 102, 241, 0.4);
}

.neatidrama-toast.is-show {
	transform: translateX(-50%) translateY(0);
	opacity: 1;
	pointer-events: auto;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
	.neatidrama-posters-grid-6 {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 768px) {
	.neatidrama-posters-grid-6 {
		grid-template-columns: repeat(3, 1fr);
		gap: 12px;
	}

	.neatidrama-video-title {
		font-size: 1.25rem;
	}
}

@media (max-width: 480px) {
	.neatidrama-posters-grid-6 {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
}

/* 8. Floating Install App Button - Neo Purple-Blue Aesthetic */
.ds-floating-install-app {
	position: fixed;
	bottom: 28px;
	right: 28px;
	z-index: 9990;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 8px 6px 8px;
	background: linear-gradient(135deg, rgba(20, 14, 44, 0.94) 0%, rgba(32, 18, 64, 0.96) 45%, rgba(10, 26, 62, 0.96) 100%);
	border: 1px solid rgba(167, 139, 250, 0.45);
	border-radius: 9999px;
	box-shadow: 0 10px 30px -4px rgba(124, 58, 237, 0.5), 0 0 20px -2px rgba(6, 182, 212, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	user-select: none;
	transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
	font-family: inherit;
	animation: dsInstallSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ds-floating-install-app.is-hidden {
	opacity: 0;
	pointer-events: none;
	transform: translateY(20px) scale(0.92);
}

.ds-floating-install-app:hover {
	transform: translateY(-3px) scale(1.02);
	border-color: rgba(192, 132, 252, 0.7);
	box-shadow: 0 16px 38px -4px rgba(139, 92, 246, 0.65), 0 0 28px rgba(6, 182, 212, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.ds-floating-install-inner {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	padding: 2px 4px 2px 2px;
}

.ds-install-logo-wrap {
	position: relative;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: #0d0a1e;
	border: 1px solid rgba(167, 139, 250, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
	overflow: hidden;
}

.ds-install-favicon-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 9px;
}

.ds-install-glow-ring {
	position: absolute;
	inset: 0;
	border-radius: 9px;
	pointer-events: none;
	border: 1px solid rgba(6, 182, 212, 0.5);
	animation: dsNeonPulseRing 2.4s ease-in-out infinite;
}

.ds-install-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	line-height: 1.15;
	text-align: left;
}

.ds-install-badge {
	font-size: 0.6rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #38bdf8;
	line-height: 1;
	margin-bottom: 2px;
	text-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
}

.ds-install-title {
	font-size: 0.88rem;
	font-weight: 700;
	color: #ffffff;
	font-family: 'Content', var(--ds-font-primary, sans-serif);
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.ds-install-cta {
	display: flex;
	align-items: center;
	margin-left: 2px;
}

.ds-install-pill-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 7px 14px;
	background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 50%, #06b6d4 100%);
	color: #ffffff;
	border-radius: 9999px;
	font-weight: 700;
	font-size: 0.82rem;
	box-shadow: 0 4px 14px rgba(99, 102, 241, 0.5);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	white-space: nowrap;
	font-family: 'Content', var(--ds-font-primary, sans-serif);
}

.ds-floating-install-app:hover .ds-install-pill-btn {
	transform: scale(1.04);
	box-shadow: 0 6px 18px rgba(6, 182, 212, 0.6);
}

.ds-install-dl-icon {
	display: block;
	animation: dsBounceArrow 1.8s ease-in-out infinite;
}

.ds-install-cta-text {
	line-height: 1;
}

.ds-install-dismiss-btn {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: rgba(255, 255, 255, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	transition: all 0.2s ease;
	flex-shrink: 0;
	margin-right: 2px;
}

.ds-install-dismiss-btn:hover {
	background: rgba(239, 68, 68, 0.8);
	border-color: rgba(239, 68, 68, 0.9);
	color: #ffffff;
	transform: scale(1.1);
}

@keyframes dsInstallSlideIn {
	0% {
		opacity: 0;
		transform: translateY(24px) scale(0.9);
	}
	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes dsNeonPulseRing {
	0%, 100% {
		border-color: rgba(6, 182, 212, 0.4);
		box-shadow: 0 0 6px rgba(6, 182, 212, 0.2);
	}
	50% {
		border-color: rgba(168, 85, 247, 0.8);
		box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
	}
}

@keyframes dsBounceArrow {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-2px);
	}
}

/* Mobile Responsive - Positioned Gracefully Above Mobile Bottom Bar */
@media (max-width: 768px) {
	.ds-floating-install-app {
		bottom: calc(74px + env(safe-area-inset-bottom, 0px));
		right: 12px;
		left: auto;
		max-width: calc(100vw - 24px);
		padding: 5px 6px 5px 6px;
		gap: 4px;
		box-shadow: 0 8px 24px -3px rgba(124, 58, 237, 0.6), 0 0 16px rgba(6, 182, 212, 0.3);
	}

	.ds-floating-install-inner {
		gap: 8px;
	}

	.ds-install-logo-wrap {
		width: 32px;
		height: 32px;
		border-radius: 8px;
	}

	.ds-install-badge {
		display: none;
	}

	.ds-install-title {
		font-size: 0.82rem;
	}

	.ds-install-pill-btn {
		padding: 6px 11px;
		font-size: 0.78rem;
		gap: 4px;
	}

	.ds-install-dismiss-btn {
		width: 20px;
		height: 20px;
		font-size: 13px;
	}
}
