/* Meow Gallery Cards 2.0 — sizing comes from Meow Gallery's .chm-slide */
.chm-slide.mgc-card,
.chm-slide.mgc-item {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	box-sizing: border-box;
	color: #fff;
	text-align: center;
	isolation: isolate;
	font-family: inherit;
	background: #000;
}
.chm-slide.mgc-card::after,
.chm-slide.mgc-item::after { display: none; }

.mgc-card .mgc-bg, .mgc-item .mgc-bg,
.mgc-card .mgc-tint, .mgc-item .mgc-tint,
.mgc-item .mgc-ph-blur {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}
.mgc-card .mgc-bg, .mgc-item .mgc-bg {
	width: 100%;
	height: 100%;
	object-fit: cover;
	background-size: cover;
	background-position: center 30%;
	background-color: transparent;
}
.mgc-card .mgc-tint, .mgc-item .mgc-tint { z-index: 1; }
.mgc-card .mgc-inner, .mgc-item .mgc-inner { position: relative; z-index: 2; width: 100%; }

/* shared text bits */
.mgc-card .mgc-kicker, .mgc-item .mgc-kicker {
	font-size: 12px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--mgc-ac, #f3c56b);
	margin: 0 0 10px;
}
.mgc-card .mgc-title {
	font-size: 28px;
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 12px;
	color: #fff;
	text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.mgc-card .mgc-text { font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.88); margin: 0 0 18px; }
.mgc-card b, .mgc-card strong, .mgc-item b, .mgc-item strong { color: var(--mgc-ac, #f3c56b); }
.mgc-card .mgc-bullets { list-style: none; margin: 0 auto 22px; padding: 0; text-align: left; max-width: 320px; }
.mgc-card .mgc-bullets li {
	display: flex; gap: 12px; align-items: flex-start;
	padding: 10px 14px; margin: 0 0 10px;
	border-radius: 14px; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.18);
	backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
	font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.9);
}
.mgc-card .mgc-bi { font-size: 22px; line-height: 1; flex: 0 0 auto; }
.mgc-card .mgc-icon { font-size: 44px; line-height: 1; margin: 0 0 14px; }

/* buttons */
.mgc-card .mgc-btns, .mgc-item .mgc-btns { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mgc-card .mgc-btn, .mgc-item .mgc-btn {
	display: inline-block;
	min-width: 200px;
	padding: 16px 40px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--mgc-b1, #ff3d8b), var(--mgc-b2, #f3c56b));
	color: var(--mgc-bt, #160510);
	font-weight: 800;
	font-size: 18px;
	letter-spacing: .04em;
	text-decoration: none;
	text-align: center;
	box-shadow: 0 10px 30px rgba(0,0,0,.45);
	-webkit-tap-highlight-color: transparent;
}
.mgc-card .mgc-btn:hover, .mgc-card .mgc-btn:focus,
.mgc-item .mgc-btn:hover, .mgc-item .mgc-btn:focus { color: var(--mgc-bt, #160510); filter: brightness(1.06); }
.mgc-card .mgc-btn-alt {
	background: rgba(0,0,0,.35);
	color: #fff;
	border: 2px solid var(--mgc-b2, #f3c56b);
	padding: 13px 34px;
	font-size: 16px;
	box-shadow: none;
}
.mgc-card .mgc-btn-alt:hover, .mgc-card .mgc-btn-alt:focus { color: #fff; }
.mgc-card .mgc-pay, .mgc-item .mgc-pay { margin-top: 14px; font-size: 12.5px; letter-spacing: .02em; color: rgba(255,255,255,.78); }
.mgc-card .mgc-hint { margin-top: 22px; font-size: 13px; color: rgba(255,255,255,.62); }
.mgc-card .mgc-hint span { display: inline-block; animation: mgcNudge 1.6s ease-in-out infinite; }

/* site updates list */
.mgc-card .mgc-posts { list-style: none; margin: 0 auto 22px; padding: 0; text-align: left; max-width: 340px; }
.mgc-card .mgc-posts a {
	display: flex; gap: 12px; align-items: center;
	padding: 8px; margin-bottom: 10px; border-radius: 14px;
	background: rgba(0,0,0,.32); border: 1px solid rgba(255,255,255,.14);
	color: #fff; text-decoration: none;
}
.mgc-card .mgc-posts img { width: 58px; height: 58px; border-radius: 10px; object-fit: cover; flex: 0 0 58px; }
.mgc-card .mgc-posts .t { font-size: 14px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mgc-card .mgc-posts .a { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 3px; }

/* ---------- FULL look (Meow Movies Slides) ---------- */
.chm-slide.mgc-full { padding: 24px !important; align-items: center !important; justify-content: center !important; text-align: center !important; }
.mgc-full .mgc-inner { max-width: 380px; }

/* ---------- MINIMAL look: photo fills the screen, small strip at the bottom ---------- */
.chm-slide.mgc-min { align-items: flex-end !important; justify-content: center !important; padding: 0 !important; text-align: left !important; }
.mgc-min .mgc-inner {
	max-width: 520px;
	margin: 0 auto;
	padding: 0 20px calc(26px + env(safe-area-inset-bottom));
}
.mgc-min .mgc-kicker { font-size: 11px; letter-spacing: .18em; margin: 0 0 6px; display: flex; align-items: center; gap: 6px; }
.mgc-min .mgc-kicon { font-size: 15px; letter-spacing: 0; }
.mgc-min .mgc-title { font-size: 21px; font-weight: 800; line-height: 1.2; margin: 0 0 14px; }
.mgc-min .mgc-btns { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 10px; }
.mgc-min .mgc-btn { min-width: 0; padding: 12px 24px; font-size: 15px; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.mgc-min .mgc-btn-alt { padding: 10px 20px; font-size: 14px; border-width: 1.5px; }
.mgc-min .mgc-pay { margin-top: 10px; font-size: 11px; color: rgba(255,255,255,.7); }
.mgc-min .mgc-hint { margin-top: 12px; font-size: 11px; text-align: center; }
.mgc-min .mgc-posts { margin: 0 0 14px; max-width: none; }
.mgc-min .mgc-posts a { padding: 6px; margin-bottom: 8px; border-radius: 12px; }
.mgc-min .mgc-posts img { width: 44px; height: 44px; flex-basis: 44px; border-radius: 8px; }
.mgc-min .mgc-posts .t { font-size: 13px; }
.mgc-item .mgc-tint-min { background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.55) 78%, rgba(0,0,0,.85) 100%); }

/* ---------- your photos ---------- */
.mgc-photo .mgc-ph-blur {
	background-size: cover;
	background-position: center;
	filter: blur(28px) brightness(.55);
	transform: scale(1.15);
}
.mgc-photo .mgc-ph {
	position: relative;
	z-index: 1;
	max-width: 100%;
	max-height: 100%;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	display: block;
}
.mgc-photo .mgc-tint { z-index: 2; }
.chm-slide.mgc-photo { padding: 0 !important; }
.mgc-photo .mgc-inner {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	z-index: 3;
	text-align: left;
	padding: 0 20px calc(26px + env(safe-area-inset-bottom));
	max-width: 520px;
	margin: 0 auto;
}
.mgc-item .mgc-caption { font-size: 16px; font-weight: 700; line-height: 1.3; margin: 0 0 12px; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.mgc-item .mgc-btns { flex-direction: row; justify-content: flex-start; }
.mgc-item .mgc-btn { min-width: 0; padding: 11px 22px; font-size: 14px; box-shadow: 0 6px 18px rgba(0,0,0,.35); }

/* ---------- flick-up buttons ---------- */
.mgc-anim .mgc-btn { opacity: 0; transform: translateY(80px) scale(.92); }
.mgc-anim.mgc-min .mgc-btn, .mgc-anim.mgc-item .mgc-btn { transform: translateY(28px) scale(.96); }
.mgc-anim.mgc-in .mgc-btn { animation: mgcFlick .65s cubic-bezier(.2,1.4,.4,1) forwards, mgcPulse 2.4s ease-in-out .9s infinite; }
.mgc-anim.mgc-in .mgc-btn-alt { animation: mgcFlick .65s cubic-bezier(.2,1.4,.4,1) .12s forwards; }
@keyframes mgcFlick { to { opacity: 1; transform: none; } }
@keyframes mgcPulse { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.15); } }
@keyframes mgcNudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

@media (max-width: 640px) {
	.mgc-full .mgc-title { font-size: 26px; }
}
@media (min-width: 1025px) {
	.mgc-min .mgc-title { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
	.mgc-anim .mgc-btn { opacity: 1; transform: none; animation: none !important; }
	.mgc-card .mgc-hint span { animation: none; }
}
