.wp-block-modern-profile-card-block-profile-card.modern-profile-card {
	--card-bg: #ffffff;
	--panel-bg: rgba(255, 255, 255, 0.78);
	--accent-start: #ff8fc7;
	--accent-end: #ffbfdc;
	--accent-strong: #f05b9d;
	--accent-soft: rgba(255, 143, 199, 0.16);
	--border-soft: rgba(240, 91, 157, 0.16);
	--text-main: #2f2230;
	--text-muted: #6f5b67;
	--text-soft: #a18b97;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	margin: 0;
	padding: clamp(1.35rem, 2.4vw, 1.9rem);
	border-radius: 32px;
	border: 1px solid rgba(255, 255, 255, 0.86);
	background:
		radial-gradient(circle at top left, rgba(255, 196, 222, 0.72), transparent 30%),
		radial-gradient(circle at bottom right, rgba(255, 223, 236, 0.9), transparent 35%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 250, 0.98));
	box-shadow: 0 24px 60px rgba(216, 132, 168, 0.18);
}

.wp-block-modern-profile-card-block-profile-card.modern-profile-card::before,
.wp-block-modern-profile-card-block-profile-card.modern-profile-card::after {
	content: "";
	position: absolute;
	inset: auto;
	border-radius: 999px;
	filter: blur(10px);
	opacity: 1;
	z-index: -1;
}

.wp-block-modern-profile-card-block-profile-card.modern-profile-card::before {
	top: -84px;
	right: -42px;
	width: 250px;
	height: 250px;
	background: linear-gradient(135deg, rgba(255, 173, 213, 0.85), transparent);
}

.wp-block-modern-profile-card-block-profile-card.modern-profile-card::after {
	bottom: -96px;
	left: -44px;
	width: 260px;
	height: 260px;
	background: linear-gradient(135deg, transparent, rgba(255, 209, 229, 0.95));
}

.modern-profile-card.is-theme-sunset {
	--accent-start: #ff8fc7;
	--accent-end: #ffc4dd;
	--accent-strong: #f05b9d;
	--accent-soft: rgba(255, 143, 199, 0.16);
	--border-soft: rgba(240, 91, 157, 0.16);
}

.modern-profile-card.is-theme-ocean {
	--accent-start: #ffb1d2;
	--accent-end: #ffd7e8;
	--accent-strong: #ee77aa;
	--accent-soft: rgba(255, 177, 210, 0.16);
	--border-soft: rgba(238, 119, 170, 0.16);
}

.modern-profile-card.is-theme-forest {
	--accent-start: #f4a6bf;
	--accent-end: #f7d6df;
	--accent-strong: #d96f93;
	--accent-soft: rgba(244, 166, 191, 0.16);
	--border-soft: rgba(217, 111, 147, 0.15);
}

.modern-profile-card__shell {
	display: grid;
	grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
	gap: clamp(1.25rem, 3vw, 2rem);
	align-items: center;
}

.modern-profile-card__media {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	height: 100%;
	padding: 1.1rem;
	border: 1px solid var(--border-soft);
	border-radius: 26px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 244, 248, 0.98)),
		linear-gradient(180deg, var(--accent-soft), var(--panel-bg));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(16px);
}

.modern-profile-card__badge {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.25rem;
	padding: 0.45rem 0.85rem;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
	color: #7f335d;
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	box-shadow: 0 12px 24px rgba(238, 119, 170, 0.18);
}

.modern-profile-card__avatar-frame {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.modern-profile-card__avatar,
.modern-profile-card__avatar-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(210px, 100%);
	aspect-ratio: 1;
	border: 1px solid var(--border-soft);
	border-radius: 32px;
	box-shadow: 0 18px 40px rgba(216, 132, 168, 0.16);
}

.modern-profile-card__avatar {
	object-fit: cover;
	background: rgba(255, 249, 251, 0.92);
}

.modern-profile-card__avatar-placeholder {
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 245, 248, 0.92)),
		linear-gradient(135deg, var(--accent-soft), transparent);
	color: var(--accent-strong);
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
	font-size: clamp(3rem, 7vw, 4.8rem);
	font-weight: 800;
	letter-spacing: -0.05em;
}

.modern-profile-card__media-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	justify-content: center;
}

.modern-profile-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	min-width: 0;
}

.modern-profile-card__name,
.modern-profile-card__role,
.modern-profile-card__bio {
	margin: 0;
}

.modern-profile-card__name {
	color: var(--text-main);
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
	font-size: clamp(2rem, 4vw, 3.1rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.03em;
}

.modern-profile-card__role {
	color: var(--accent-strong);
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.modern-profile-card__bio {
	max-width: 58ch;
	color: var(--text-muted);
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
	font-size: 0.98rem;
	line-height: 1.95;
}

.modern-profile-card__skills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin: 0.35rem 0 0;
	padding: 0;
	list-style: none;
}

.modern-profile-card__skill {
	padding: 0.55rem 0.95rem;
	border: 1px solid var(--border-soft);
	border-radius: 999px;
	background: rgba(255, 248, 251, 0.95);
	color: #7f4f65;
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
	font-size: 0.9rem;
	font-weight: 700;
	box-shadow: 0 8px 20px rgba(238, 119, 170, 0.08);
}

.modern-profile-card__actions {
	margin-top: 0.35rem;
}

.modern-profile-card__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.85rem 1.3rem;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
	color: #7a2b5a;
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
	font-size: 0.96rem;
	font-weight: 800;
	text-decoration: none;
	box-shadow: 0 16px 28px rgba(238, 119, 170, 0.2);
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.modern-profile-card__button:hover,
.modern-profile-card__button:focus {
	transform: translateY(-2px);
	filter: brightness(1.02);
	box-shadow: 0 20px 32px rgba(238, 119, 170, 0.26);
}

.modern-profile-card__button.is-placeholder {
	cursor: default;
}

.modern-profile-card a.modern-profile-card__button:focus-visible {
	outline: 2px solid rgba(240, 91, 157, 0.45);
	outline-offset: 3px;
}

@media (max-width: 781px) {
	.modern-profile-card__shell {
		grid-template-columns: 1fr;
	}

	.modern-profile-card__media {
		align-items: stretch;
	}

	.modern-profile-card__badge {
		align-self: center;
	}

	.modern-profile-card__name {
		font-size: clamp(2rem, 9vw, 2.7rem);
	}

	.modern-profile-card__bio {
		max-width: none;
	}
}
