/* Najibul Shorts — Watch Rewards dopamine toast (frontend, non-blocking). */

.nsj-dopamine-toast {
	position: fixed;
	z-index: 2147483000;
	left: 50%;
	bottom: max(24px, env(safe-area-inset-bottom, 24px));
	transform: translate(-50%, 30px);
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: min(440px, calc(100vw - 32px));
	padding: 12px 16px;
	border-radius: 18px;
	border: 1px solid rgba(240, 185, 76, 0.45);
	background: linear-gradient(160deg, rgba(28, 24, 18, 0.97), rgba(12, 10, 8, 0.97));
	background-clip: padding-box;
	box-shadow:
		0 24px 70px rgba(0, 0, 0, 0.55),
		0 0 0 1px rgba(0, 0, 0, 0.6),
		0 0 42px rgba(240, 185, 76, 0.22);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	opacity: 0;
	pointer-events: none;
	transition: transform .32s cubic-bezier(.2, .9, .25, 1.2), opacity .22s ease;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.nsj-dopamine-toast.nsj-dt-show {
	opacity: 1;
	transform: translate(-50%, 0);
	pointer-events: auto;
}
.nsj-dopamine-toast.nsj-dt-hide {
	opacity: 0;
	transform: translate(-50%, 24px);
}

.nsj-dt-coin {
	font-size: 30px;
	line-height: 1;
	animation: nsj-coin-hop 0.9s cubic-bezier(.3, 1.6, .4, 1) 1;
	filter: drop-shadow(0 4px 10px rgba(240, 185, 76, 0.45));
	user-select: none;
}

@keyframes nsj-coin-hop {
	0%   { transform: translateY(14px) scale(.6) rotate(-12deg); opacity: 0; }
	60%  { transform: translateY(-6px) scale(1.15) rotate(6deg); opacity: 1; }
	100% { transform: translateY(0) scale(1) rotate(0); }
}

.nsj-dt-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.nsj-dt-title {
	font-size: 14px;
	font-weight: 800;
	color: #F6D98B;
	letter-spacing: .1px;
	white-space: nowrap;
}
.nsj-dt-sub {
	font-size: 11px;
	font-weight: 600;
	color: #C9B98A;
	opacity: .9;
}

.nsj-dt-close {
	align-self: flex-start;
	border: 0;
	background: transparent;
	color: #8f867a;
	font-size: 18px;
	line-height: 1;
	padding: 0 2px;
	cursor: pointer;
}
.nsj-dt-close:hover { color: #F6D98B; }

@media (prefers-reduced-motion: reduce) {
	.nsj-dopamine-toast { transition: opacity .2s ease; transform: translate(-50%, 0); }
	.nsj-dopamine-toast.nsj-dt-show { transform: translate(-50%, 0); }
	.nsj-dt-coin { animation: none; }
}

@media (max-width: 600px) {
	.nsj-dopamine-toast {
		bottom: max(88px, env(safe-area-inset-bottom, 88px));
		gap: 10px;
		padding: 10px 14px;
	}
	.nsj-dt-title { font-size: 13px; white-space: normal; }
}
