
/* Tappable Base Verse Styling */
.vyasa-tappable-verse {
	border-bottom: 1px dashed rgba(179, 136, 75, .3);
	cursor: pointer;
	transition: background-color .25s ease;
}

/* Seamless Pure Background Highlight (Solid Underline Removed) */
.vyasa-tappable-verse.vyasa-verse-active-highlight {
	background-color: rgba(0, 163, 42, .12) !important;
	border-bottom: none !important;
	/* Strips the underline completely */
	box-shadow: 0 0 8px rgba(0, 163, 42, .15);
	border-radius: 6px;
	padding: 2px 4px;
}

/* Viewport Push Buffer matching the new capsule size */
body.vyasa-bubble-drawer-open {
	padding-bottom: 60vh !important;
	transition: padding-bottom .3s ease;
}

/* Ultra-Premium Glassmorphism Floating Capsule */

/* Translucent Chat Floating Bubble Container */
#vyasa-translation-bubble {
	position: fixed;
	bottom: -100%;
	left: 5%;
	width: 90%;
	max-width: 650px;
	height: 52vh;
	/* Upgraded to 1.5x height for deep text scannability */
	background: rgba(255, 255, 255, .72) !important;
	-webkit-backdrop-filter: blur(22px) saturate(200%) !important;
	backdrop-filter: blur(22px) saturate(200%) !important;
	border: 1px solid rgba(255, 255, 255, .45);
	border-radius: 24px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .09);
	z-index: 999999 !important;
	display: flex;
	flex-direction: column;
	transition: bottom .4s cubic-bezier(.16, 1, .3, 1);
}

@media (min-width: 768px) {
	#vyasa-translation-bubble {
		left: 50%;
		transform: translateX(-50%);
	}
}

#vyasa-translation-bubble.vyasa-bubble-active {
	bottom: 30px;
}

/* Header Utilities */
.vyasa-bubble-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 20px;
	border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.vyasa-bubble-header h3 {
	margin: 0;
	font-size: .8rem;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* Navigation Interface Elements */
.vyasa-nav-controls button {
	background: rgba(0, 0, 0, .04);
	border: 1px solid rgba(0, 0, 0, .06);
	border-radius: 8px;
	padding: 4px 14px;
	font-size: .95rem;
	cursor: pointer;
	color: #111;
	transition: background .2s;
}

.vyasa-nav-controls button:hover:not(:disabled) {
	background: rgba(0, 0, 0, .08);
}

.vyasa-nav-controls button:disabled {
	opacity: .2;
	cursor: not-allowed;
}

#vyasa-bubble-close {
	background: none;
	border: none;
	font-size: 1.5rem;
	color: #666;
	cursor: pointer;
}

/* Scrolling Container Frame */
#vyasa-bubble-content {
	padding: 20px 24px;
	overflow-y: auto;
	flex-grow: 1;
}

/* Dynamic Text Render Customization styles */
.vyasa-bubble-sanskrit {
	font-size: 1.25rem;
	color: #9c6f2d;
	text-align: center;
	line-height: 1.6;
	margin-bottom: 16px;
}

.vyasa-bubble-pada {
	font-size: 1rem;
	line-height: 1.8;
	color: #111;
	background: rgba(255, 255, 255, .5);
	padding: 10px 14px;
	border-radius: 12px;
	border: 1px solid rgba(0, 0, 0, .02);
	margin-bottom: 16px;
}

.vyasa-bubble-bhavartha p {
	font-size: 1.05rem;
	line-height: 1.6;
	color: #2c2c2c;
	margin: 0;
}

.vyasa-loader {
	text-align: center;
	padding: 20px;
	color: #999;
}
