.ml-nights-page,
.ml-events-page {
	color: #fff7fb;
}

.ml-event-form,
.ml-night,
.ml-event {
	position: relative;
	background:
		radial-gradient(120% 80% at 10% 0%, rgba(255, 79, 154, 0.28), transparent 55%),
		linear-gradient(180deg, #2a1020 0%, #1c0b14 100%);
	color: #fff7fb;
	padding: 22px;
	border-radius: 22px;
	box-shadow: 0 18px 40px rgba(20, 4, 12, 0.35), 0 0 34px rgba(255, 64, 140, 0.28);
}

.ml-night-form input,
.ml-night-form textarea,
.ml-event-form input,
.ml-event-form textarea {
	width: 100%;
	min-height: 48px;
	border-radius: 14px;
	border: 1px solid rgba(255, 170, 208, 0.35);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	padding: 10px 14px;
}

.ml-night-form textarea,
.ml-event-form textarea {
	min-height: 140px;
	resize: vertical;
}

.ml-event-nav a,
.ml-who-filter a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 14px;
	border-radius: 999px;
	color: #fff7fb;
	text-decoration: none;
	background: rgba(255, 79, 154, 0.16);
}

.ml-event-nav a.is-on,
.ml-who-filter a.is-on {
	background: linear-gradient(135deg, #ffd0e6, #ff4f9a);
	color: #4a1733;
	font-weight: 800;
}

.ml-event-create {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin: 10px 0 4px;
	padding: 0 22px;
	border-radius: 999px;
	color: #4a1733;
	font-weight: 800;
	text-decoration: none;
	background: linear-gradient(135deg, #ffd0e6, #ff4f9a);
}

.ml-month {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 6px;
	margin: 18px 0 28px;
}

.ml-dow,
.ml-cell {
	min-height: 88px;
	padding: 8px;
	border-radius: 12px;
	background: rgba(28, 11, 20, 0.86);
	color: #ffe8f3;
}

.ml-dow {
	min-height: 36px;
	font-weight: 800;
	background: transparent;
}

.ml-cell a {
	display: block;
	margin-top: 6px;
	color: #ff8ac0;
	font-weight: 700;
	text-decoration: none;
}

.ml-event-cards {
	display: grid;
	gap: 16px;
}

.ml-event-card {
	border-radius: 22px;
	overflow: hidden;
	background: #1c0b14;
	box-shadow: 0 16px 36px rgba(20, 4, 12, 0.32), 0 0 24px rgba(255, 64, 140, 0.22);
	transform: translateY(0);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ml-event-card:hover,
.ml-event-card:focus-within {
	transform: translateY(-4px);
	box-shadow: 0 22px 44px rgba(20, 4, 12, 0.4), 0 0 34px rgba(255, 64, 140, 0.38);
}

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

.ml-event-card-media img,
.ml-event-gallery img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 320px;
	object-fit: cover;
}

.ml-event-card-body,
.ml-event-body {
	padding: 16px 18px 20px;
}

.ml-event-card h2,
.ml-event h1 {
	margin: 0 0 8px;
	color: #fff8fb;
	text-shadow: 0 0 22px rgba(255, 79, 154, 0.45);
}

.ml-event-meta,
.ml-event-going-count,
.ml-event-excerpt {
	margin: 0 0 8px;
	color: #ffd0e6;
}

.ml-event-open,
.ml-rsvp button,
.ml-night-form button,
.ml-event-form button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border: 0;
	border-radius: 999px;
	padding: 0 18px;
	font-weight: 800;
	color: #4a1733;
	background: linear-gradient(135deg, #ffd0e6, #ff4f9a);
	text-decoration: none;
	cursor: pointer;
}

.ml-rsvp {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 18px 0;
}

.ml-rsvp-label {
	width: 100%;
	margin: 0;
	font-weight: 800;
}

.ml-rsvp .is-on {
	box-shadow: 0 0 18px rgba(255, 79, 154, 0.7);
}

.ml-event-gallery {
	display: grid;
	gap: 10px;
	margin: 16px 0;
}

.ml-going-wrap h2 {
	margin: 24px 0 12px;
}

.ml-going {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ml-going a {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 4px 12px 4px 4px;
	border-radius: 999px;
	color: #fff7fb;
	text-decoration: none;
	background: rgba(255, 79, 154, 0.16);
}

.ml-going img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}

@media (max-width: 700px) {
	.ml-month {
		grid-template-columns: repeat(2, 1fr);
	}
	.ml-dow {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ml-event-card,
	.ml-event-card:hover,
	.ml-event-card:focus-within {
		transform: none;
		transition: none;
	}
}
