/* =============================================================
   BIGBAD MEME LAB — site-wide visual override
   All rules scoped to body.bigbad-meme-lab so deactivating the
   child theme reverts to the Ohio look with zero residue.
   ============================================================= */

body.bigbad-meme-lab {
	--bg: #0b0b10;
	--panel: #15151c;
	--panel-2: #1c1c25;
	--line: #272732;
	--line-2: #3a3a48;
	--ink: #0a0a0a;
	--paper: #f5f1e6;
	--paper-2: #ece6d4;
	--red: #ff2e4a;
	--hot: #ff7a18;
	--yellow: #ffd23f;
	--acid: #c6ff00;
	--cyan: #00e5ff;
	--pink: #ff5fb8;
	--muted: #8c8c9a;
	--dock-w: 72px;
	--topbar-h: 40px;

	background: var(--bg);
	color: #e9e9ee;
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Helper classes */
body.bigbad-meme-lab .ff-meme { font-family: 'Anton', 'Impact', 'Haettenschweiler', 'Arial Narrow Bold', sans-serif; letter-spacing: .5px; text-transform: uppercase; line-height: .95; }
body.bigbad-meme-lab .ff-marker { font-family: 'Permanent Marker', cursive; }
body.bigbad-meme-lab .ff-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
body.bigbad-meme-lab .tabular { font-variant-numeric: tabular-nums; }

body.bigbad-meme-lab .meme-stroke {
	color: #fff;
	-webkit-text-stroke: 2px #000;
	text-shadow: 2px 2px 0 #000, -2px 2px 0 #000, 2px -2px 0 #000, -2px -2px 0 #000, 0 3px 0 #000;
}
body.bigbad-meme-lab .meme-stroke-sm {
	color: #fff;
	-webkit-text-stroke: 1.2px #000;
	text-shadow: 1px 1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000;
}

/* =============== TOP NAV (replaces Ohio's header on bigbad-meme-lab pages) =============== */
body.bigbad-meme-lab .bb-topbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: var(--topbar-h);
	background: rgba(11, 11, 16, 0.95);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
	z-index: 60;
	display: flex;
	align-items: center;
	padding: 0 1rem 0 calc(var(--dock-w) + 1rem);
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 11px;
	color: #8c8c9a;
	letter-spacing: 0.06em;
}
body.bigbad-meme-lab .bb-topbar a { color: inherit; text-decoration: none; }
body.bigbad-meme-lab .bb-topbar a:hover { color: #fff; }

body.bigbad-meme-lab .bb-dock {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: var(--dock-w);
	background: #08080a;
	border-right: 1px solid var(--line);
	z-index: 65;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 12px 0;
	gap: 6px;
}
body.bigbad-meme-lab .bb-dock a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 56px;
	height: 56px;
	border-radius: 10px;
	color: #8c8c9a;
	font-family: 'JetBrains Mono', monospace;
	font-size: 8px;
	letter-spacing: 0.05em;
	text-decoration: none;
	transition: all 0.15s;
}
body.bigbad-meme-lab .bb-dock a:hover, body.bigbad-meme-lab .bb-dock a.is-current {
	background: rgba(244, 63, 94, 0.12);
	color: #fff;
}
body.bigbad-meme-lab .bb-dock-icon img {
	width: 24px;
	height: 24px;
	filter: invert(1) brightness(1.1);
	display: block;
}
body.bigbad-meme-lab .bb-dock-logo img {
	width: 38px;
	height: 38px;
	filter: invert(1) brightness(1.1);
	transition: transform 0.2s;
}
body.bigbad-meme-lab .bb-dock-logo:hover img { transform: rotate(-8deg) scale(1.05); }
body.bigbad-meme-lab .bb-dock-divider { width: 32px; height: 1px; background: var(--line); margin: 4px 0; }

body.bigbad-meme-lab .bb-content-wrap {
	padding-left: var(--dock-w);
	padding-top: var(--topbar-h);
	min-height: 100vh;
}

/* mobile: dock collapses to a bottom bar */
@media (max-width: 768px) {
	body.bigbad-meme-lab .bb-dock {
		top: auto;
		bottom: 0;
		right: 0;
		width: 100%;
		height: 60px;
		flex-direction: row;
		justify-content: space-around;
		border-right: none;
		border-top: 1px solid var(--line);
	}
	body.bigbad-meme-lab .bb-dock a { width: auto; flex: 1; height: 100%; }
	body.bigbad-meme-lab .bb-dock-logo { display: none; }
	body.bigbad-meme-lab .bb-dock-divider { display: none; }
	body.bigbad-meme-lab .bb-content-wrap { padding-left: 0; padding-bottom: 60px; }
	body.bigbad-meme-lab .bb-topbar { padding-left: 1rem; }
}

/* =============== MEME-LAB SUB-HEADER (filter tabs + live ticker) =============== */
body.bigbad-meme-lab .meme-subheader {
	position: sticky;
	top: var(--topbar-h);
	z-index: 50;
	background: rgba(11, 11, 16, 0.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}
body.bigbad-meme-lab .meme-subheader-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0.75rem 1rem;
	display: flex;
	align-items: center;
	gap: 1rem;
}
body.bigbad-meme-lab .meme-subheader-brand { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
body.bigbad-meme-lab .meme-subheader-brand img { width: 36px; height: 36px; filter: invert(1) brightness(1.1); animation: bb-fishbob 5s ease-in-out infinite; }
body.bigbad-meme-lab .meme-subheader-brand .ff-meme { font-size: 1.25rem; line-height: 1; }
body.bigbad-meme-lab .meme-subheader-brand .ff-mono { font-size: 10px; color: #8c8c9a; }
body.bigbad-meme-lab .tab {
	padding: 0.55rem 0.9rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	border: 1px solid var(--line);
	color: #cfcfd6;
	background: transparent;
	cursor: pointer;
	transition: all 0.15s;
}
body.bigbad-meme-lab .tab:hover { border-color: var(--line-2); }
body.bigbad-meme-lab .tab.active { background: #fff; color: #000; border-color: #fff; }
body.bigbad-meme-lab .meme-subheader-ticker {
	background: #0a0a0f;
	border-top: 1px solid var(--line);
	padding: 0.4rem 1rem;
	max-width: 1180px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 11px;
	color: #8c8c9a;
	font-family: 'JetBrains Mono', monospace;
}
body.bigbad-meme-lab .pulse-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--acid); animation: bb-pulse 1.6s infinite; }
@keyframes bb-pulse { 0% { box-shadow: 0 0 0 0 rgba(198,255,0,.7); } 70% { box-shadow: 0 0 0 10px rgba(198,255,0,0); } 100% { box-shadow: 0 0 0 0 rgba(198,255,0,0); } }

/* =============== MEME CARD (homepage feed + shortcode) =============== */
body.bigbad-meme-lab .meme-card { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); margin-bottom: 1.5rem; }
body.bigbad-meme-lab .posted-by { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 0.9rem; background: #fff; color: #000; border-bottom: 2px solid #000; }
body.bigbad-meme-lab .posted-by img { width: 36px; height: 36px; border-radius: 999px; border: 2px solid #000; background: #fff; object-fit: contain; padding: 2px; }
body.bigbad-meme-lab .posted-by .leading-tight { line-height: 1.15; }
body.bigbad-meme-lab .posted-by .font-extrabold { font-weight: 800; font-size: 0.875rem; display: flex; align-items: center; gap: 0.25rem; }
body.bigbad-meme-lab .posted-by .text-tiny { font-size: 11px; color: #555; }
body.bigbad-meme-lab .verified-fish { width: 18px; height: 18px; vertical-align: -2px; }
body.bigbad-meme-lab .posted-by-more { margin-left: auto; font-size: 12px; font-weight: 800; color: #777; }

body.bigbad-meme-lab .paper {
	background: radial-gradient(1200px 200px at 50% -10%, rgba(0,0,0,.06), transparent), repeating-linear-gradient(135deg, rgba(0,0,0,.015) 0 2px, transparent 2px 6px), var(--paper);
	color: #0a0a0a;
}
body.bigbad-meme-lab .drake-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0; }
body.bigbad-meme-lab .drake-row:not(:last-child) { border-bottom: 2px solid black; }
body.bigbad-meme-lab .drake-pic { aspect-ratio: 1/1; background: #0e0e15; display: grid; place-items: center; position: relative; overflow: hidden; }
body.bigbad-meme-lab .drake-cap { padding: 1rem; display: flex; align-items: center; font-weight: 700; font-size: 1.05rem; line-height: 1.15; background: #fff; }
body.bigbad-meme-lab .drake-cap .scenario-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: #777; margin-bottom: 0.25rem; }
body.bigbad-meme-lab .drake-cap .scenario-title { font-family: 'Anton', sans-serif; font-size: 1.25rem; text-transform: uppercase; color: #000; line-height: 1.05; }
body.bigbad-meme-lab .drake-cap .scenario-note { margin-top: 0.5rem; font-size: 12px; color: #666; font-weight: normal; }

body.bigbad-meme-lab .brain-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border-top: 1px solid #000; }
body.bigbad-meme-lab .brain-row:first-child { border-top: none; }
body.bigbad-meme-lab .brain-glow-1 { background: radial-gradient(circle at 30% 50%, rgba(255,210,63,.35), transparent 60%), #1a1a22; }
body.bigbad-meme-lab .brain-glow-2 { background: radial-gradient(circle at 40% 50%, rgba(0,229,255,.35), transparent 60%), #16161e; }
body.bigbad-meme-lab .brain-glow-3 { background: radial-gradient(circle at 50% 50%, rgba(255,95,184,.45), transparent 60%), #131320; }
body.bigbad-meme-lab .brain-glow-4 { background: radial-gradient(circle at 50% 50%, rgba(198,255,0,.55), transparent 50%), #0e0e18; }
body.bigbad-meme-lab .brain-row > div:first-child { padding: 1rem; display: flex; align-items: center; }

body.bigbad-meme-lab .two-btn-stage { position: relative; height: 280px; background: linear-gradient(180deg, #fff, #f5f1e6); overflow: hidden; }
body.bigbad-meme-lab .room { position: relative; height: 300px; background: linear-gradient(180deg, #1a0a06 0%, #6b1c0a 55%, #ff7a18 100%); overflow: hidden; }
body.bigbad-meme-lab .smoke { position: absolute; border-radius: 50%; background: rgba(40,20,10,.55); filter: blur(8px); animation: bb-smoke 8s infinite ease-in-out; }
@keyframes bb-smoke { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-14px) scale(1.06); } }
body.bigbad-meme-lab .flame {
	position: absolute; bottom: -6px; width: 30px; height: 60px;
	border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
	background: linear-gradient(180deg, #ffd23f, #ff7a18 50%, #ff2e4a);
	filter: blur(.3px); animation: bb-flicker 1.2s infinite alternate; transform-origin: bottom center;
}
@keyframes bb-flicker { from { transform: scaleY(1) rotate(-2deg); } to { transform: scaleY(1.15) rotate(2deg); } }
body.bigbad-meme-lab .letterbox { position: relative; background: #0a0a0a; }
body.bigbad-meme-lab .letterbox::before, body.bigbad-meme-lab .letterbox::after { content: ""; position: absolute; left: 0; right: 0; height: 36px; background: #000; z-index: 1; }
body.bigbad-meme-lab .letterbox::before { top: 0; }
body.bigbad-meme-lab .letterbox::after { bottom: 0; }

body.bigbad-meme-lab .char-distract-bg { background: linear-gradient(180deg, #2a1f4a 0%, #4d2871 45%, #b54d8e 100%); }
body.bigbad-meme-lab .meme-watermark { position: absolute; right: 8px; bottom: 8px; display: flex; align-items: center; gap: 6px; opacity: 0.85; z-index: 2; }
body.bigbad-meme-lab .meme-watermark img { width: 22px; height: 22px; filter: invert(1) brightness(1.1); }
body.bigbad-meme-lab .meme-watermark span { font-family: 'Permanent Marker', cursive; font-size: 12px; color: rgba(255,255,255,0.85); text-shadow: 0 1px 0 #000; }
body.bigbad-meme-lab .meme-watermark.dark img { filter: none; }
body.bigbad-meme-lab .meme-watermark.dark span { color: rgba(0,0,0,0.7); text-shadow: none; }

/* caption + product strip */
body.bigbad-meme-lab .meme-card-caption { background: #fff; color: #000; padding: 1rem; }
body.bigbad-meme-lab .meme-card-caption p { font-size: 13px; line-height: 1.5; margin-bottom: 0.75rem; }
body.bigbad-meme-lab .meme-tag-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
body.bigbad-meme-lab .tag { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.18rem 0.5rem; border-radius: 999px; font-size: 11px; font-weight: 600; }
body.bigbad-meme-lab .meme-card-buy-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
body.bigbad-meme-lab .price-chip {
	display: inline-flex; align-items: center; gap: 0.35rem;
	padding: 0.3rem 0.55rem; border-radius: 0.5rem;
	background: #0a0a0a; color: #fff; font-weight: 800; font-size: 0.8rem;
	border: 2px solid #fff; box-shadow: 3px 3px 0 #000;
}
body.bigbad-meme-lab .price-chip .price-suffix { font-family: 'JetBrains Mono', monospace; font-size: 10px; opacity: 0.7; font-weight: 400; }
body.bigbad-meme-lab .shop-tag { display: inline-flex; align-items: center; gap: 0.5rem; background: #000; color: #fff; border-radius: 8px; padding: 0.45rem 0.7rem; font-weight: 700; font-size: 0.78rem; border: 1px solid #000; }
body.bigbad-meme-lab .shop-tag .lil { background: var(--acid); color: #000; border-radius: 4px; padding: 1px 4px; font-size: 0.65rem; font-weight: 900; letter-spacing: 0.05em; }
body.bigbad-meme-lab .shop-btn {
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.7rem 1rem; border-radius: 999px;
	background: #fff; color: #000; font-weight: 800; font-size: 0.9rem;
	box-shadow: 0 6px 0 #000, 0 0 0 2px #000;
	transition: transform 0.08s ease, box-shadow 0.08s ease;
	text-decoration: none; border: none; cursor: pointer;
}
body.bigbad-meme-lab .shop-btn:active { transform: translateY(4px); box-shadow: 0 2px 0 #000, 0 0 0 2px #000; }
body.bigbad-meme-lab .shop-btn.red { background: var(--red); color: #fff; }
body.bigbad-meme-lab .shop-btn.acid { background: var(--acid); color: #000; }
body.bigbad-meme-lab .shop-btn.yellow { background: var(--yellow); color: #000; }
body.bigbad-meme-lab .footnote { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #7d7d8a; margin-top: 0.75rem; display: flex; justify-content: space-between; }

body.bigbad-meme-lab .meme-engagement { background: #0b0b10; display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1rem; border-top: 1px solid var(--line); }
body.bigbad-meme-lab .meme-engagement-left { display: flex; align-items: center; gap: 0.75rem; }
body.bigbad-meme-lab .icon-btn {
	width: 38px; height: 38px; display: grid; place-items: center; border-radius: 999px;
	background: #fff; border: 2px solid #000; box-shadow: 2px 2px 0 #000; color: #000;
	cursor: pointer; user-select: none;
}
body.bigbad-meme-lab .icon-btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 #000; }
body.bigbad-meme-lab .icon-btn.liked { background: var(--red); color: #fff; }
body.bigbad-meme-lab .icon-btn.saved { background: #000; color: var(--yellow); }
body.bigbad-meme-lab .meme-engagement .count { font-size: 14px; color: #cfcfd6; font-variant-numeric: tabular-nums; }
body.bigbad-meme-lab .meme-engagement .views { font-size: 11px; color: #7d7d8a; font-family: 'JetBrains Mono', monospace; font-variant-numeric: tabular-nums; }
body.bigbad-meme-lab .heart-pop { animation: bb-pop 0.35s ease; }
@keyframes bb-pop { 0% { transform: scale(1); } 40% { transform: scale(1.3); } 100% { transform: scale(1); } }
body.bigbad-meme-lab .meme-hidden { display: none !important; }

/* =============== FEED LAYOUT =============== */
body.bigbad-meme-lab .feed-shell {
	max-width: 1180px;
	margin: 0 auto;
	padding: 1.5rem 1rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}
@media (min-width: 1024px) {
	body.bigbad-meme-lab .feed-shell { grid-template-columns: 1fr 300px; }
}
body.bigbad-meme-lab .feed-col { max-width: 520px; width: 100%; margin: 0 auto; }
body.bigbad-meme-lab .feed-divider { display: flex; align-items: center; gap: 0.6rem; color: var(--muted); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1.25rem; }
body.bigbad-meme-lab .feed-divider::before, body.bigbad-meme-lab .feed-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

body.bigbad-meme-lab .intro-banner {
	margin-bottom: 1.25rem;
	border-radius: 1rem;
	border: 1px solid var(--line);
	background: linear-gradient(135deg, #15151c, #0e0e16);
	padding: 1.25rem;
}
body.bigbad-meme-lab .intro-banner-row { display: flex; align-items: flex-start; gap: 0.75rem; }
body.bigbad-meme-lab .intro-banner img { width: 48px; height: 48px; filter: invert(1) brightness(1.1); animation: bb-fishbob 5s ease-in-out infinite; }
@keyframes bb-fishbob { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-6px) rotate(3deg); } }
body.bigbad-meme-lab .intro-banner .title { font-family: 'Anton', sans-serif; font-size: 1.875rem; line-height: 1; text-transform: uppercase; }
body.bigbad-meme-lab .intro-banner p { font-size: 14px; color: #cfcfd6; margin-top: 0.5rem; }
body.bigbad-meme-lab .hash { color: var(--cyan); font-weight: 600; font-size: 12px; }
body.bigbad-meme-lab .hash-row { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* =============== SIDEBAR =============== */
body.bigbad-meme-lab .side-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 1rem; }
body.bigbad-meme-lab .side-card-title { font-family: 'Anton', sans-serif; font-size: 1.125rem; text-transform: uppercase; margin-bottom: 0.75rem; }
body.bigbad-meme-lab .side-card ol, body.bigbad-meme-lab .side-card ul { margin: 0; padding: 0; list-style: none; }
body.bigbad-meme-lab .side-card li { font-size: 14px; padding: 0.25rem 0; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
body.bigbad-meme-lab .side-card a { color: inherit; text-decoration: none; }
body.bigbad-meme-lab .side-card a:hover { text-decoration: underline; }
body.bigbad-meme-lab .arrow-up::before { content: "▲"; color: var(--acid); margin-right: 0.2rem; font-size: 0.7em; }
body.bigbad-meme-lab .arrow-dn::before { content: "▼"; color: var(--red); margin-right: 0.2rem; font-size: 0.7em; }
body.bigbad-meme-lab .tip-shake { animation: bb-shake 4s infinite; }
@keyframes bb-shake { 0%,90%,100% { transform: none; } 93% { transform: rotate(-4deg); } 96% { transform: rotate(4deg); } }

body.bigbad-meme-lab .marquee-wrap { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0.5rem 0; font-size: 11px; color: #7d7d8a; font-family: 'JetBrains Mono', monospace; }
body.bigbad-meme-lab .marquee { display: flex; gap: 2rem; animation: bb-marquee 40s linear infinite; white-space: nowrap; }
@keyframes bb-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 1023px) {
	body.bigbad-meme-lab .feed-sidebar { display: none; }
}

/* =============== SECTIONS BELOW THE FEED (receipts, industries, AI posture, big CTA) =============== */
body.bigbad-meme-lab .meme-section { max-width: 1180px; margin: 0 auto; padding: 1.5rem 1rem; }
body.bigbad-meme-lab .receipts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-top: 1rem; }
@media (min-width: 768px) { body.bigbad-meme-lab .receipts-grid { grid-template-columns: repeat(4, 1fr); } }
body.bigbad-meme-lab .receipt { padding: 1rem; border: 2px solid; border-radius: 12px; background: rgba(19,19,24,0.75); backdrop-filter: blur(8px); transition: transform 0.2s; }
body.bigbad-meme-lab .receipt:hover { transform: translateY(-3px) rotate(-1deg); }
body.bigbad-meme-lab .receipt strong { display: block; font-family: 'Anton', sans-serif; font-size: 36px; letter-spacing: -0.02em; line-height: 1; }
body.bigbad-meme-lab .receipt span { display: block; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #a1a1aa; margin-top: 0.25rem; }

body.bigbad-meme-lab .industry-chip { padding: 0.5rem 1rem; background: rgba(21,21,28,0.75); border: 2px solid var(--line); border-radius: 8px; font-weight: 600; color: #cfcfd6; transition: all 0.15s; }
body.bigbad-meme-lab .industry-chip:hover { border-color: var(--red); color: #fff; }
body.bigbad-meme-lab .industry-chip.yours { background: var(--red); color: #fff; border-color: var(--red); }

body.bigbad-meme-lab .ai-card { background: rgba(21,21,28,0.7); border: 2px solid rgba(251,191,36,0.4); border-radius: 20px; padding: 2rem; position: relative; overflow: hidden; }
body.bigbad-meme-lab .cta-card { background: linear-gradient(135deg, var(--red), var(--pink), var(--hot)); border-radius: 24px; padding: 2.5rem; position: relative; overflow: hidden; }
body.bigbad-meme-lab .cta-card h2 { font-family: 'Anton', sans-serif; color: #fff; font-size: clamp(2.5rem, 6vw, 4rem); text-transform: uppercase; line-height: 1; margin: 0.5rem 0 1rem; }

/* =============== MODAL =============== */
body.bigbad-meme-lab .modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.75); backdrop-filter: blur(8px); z-index: 100; display: none; align-items: flex-end; justify-content: center; }
body.bigbad-meme-lab .modal-backdrop.open { display: flex; }
body.bigbad-meme-lab .modal-sheet { background: #0f0f16; border: 1px solid var(--line); border-top-left-radius: 24px; border-top-right-radius: 24px; width: 100%; max-width: 560px; max-height: 88vh; overflow: auto; padding: 1.5rem; position: relative; }
@media (min-width: 768px) {
	body.bigbad-meme-lab .modal-backdrop { align-items: center; }
	body.bigbad-meme-lab .modal-sheet { border-radius: 18px; }
}
body.bigbad-meme-lab .modal-close { position: absolute; right: 0.75rem; top: 0.75rem; }
body.bigbad-meme-lab .modal-meta { font-size: 14px; color: #cfcfd6; }
body.bigbad-meme-lab .modal-meta .label { font-size: 10px; font-family: 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: 0.18em; color: #7d7d8a; margin-bottom: 0.25rem; }

/* =============== ELEMENTOR / EXISTING PAGES: meme chrome but keep their content =============== */
body.bigbad-meme-lab.page:not(.home) main, body.bigbad-meme-lab.page:not(.home) .site-main, body.bigbad-meme-lab.single main {
	max-width: 1180px;
	margin: 0 auto;
	padding: 2rem 1rem;
}
/* Soften Elementor's white-page assumptions when our dark theme is on */
body.bigbad-meme-lab .elementor-section.elementor-section-stretched { background: transparent !important; }
body.bigbad-meme-lab .elementor-element { color: inherit; }
