.pg-planner-block {
	max-width: 640px;
	margin: 0 auto;
	font-family: inherit;
}

.pg-planner-block.pg-logged-out {
	text-align: center;
	padding: 24px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
}

.pg-button {
	display: inline-block;
	background: #d6006e;
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 12px 28px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.15s ease;
}

.pg-button:hover {
	background: #b30059;
	color: #fff;
}

.pg-button:disabled {
	opacity: 0.6;
	cursor: default;
}

.pg-fill-button {
	display: block;
	margin: 20px auto 0;
}

.pg-picker-label {
	font-weight: 600;
	margin-bottom: 12px;
}

.pg-bg-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 14px;
}

.pg-bg-card {
	padding: 4px;
	border: 3px solid transparent;
	border-radius: 8px;
	background: none;
	cursor: pointer;
	line-height: 0;
}

.pg-bg-card img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	display: block;
}

.pg-bg-card.pg-selected {
	border-color: #d6006e;
}

.pg-week-heading {
	font-weight: 600;
	text-align: center;
	margin-bottom: 12px;
}

.pg-planner-image-wrap {
	position: relative;
	width: 100%;
	line-height: 0;
}

.pg-planner-image-wrap img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 6px;
}

.pg-item-box {
	position: absolute;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	padding: 0 1.5%;
	overflow: hidden;
}

.pg-item-box span {
	font-size: clamp(10px, 1.6vw, 16px);
	line-height: 1.2;
	color: #7a0044;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
}

.pg-share-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 18px;
}

.pg-share-label {
	font-weight: 600;
	margin-right: 4px;
}

.pg-share-btn {
	display: inline-block;
	border: none;
	border-radius: 999px;
	padding: 8px 18px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	color: #fff;
	background: #757575;
	transition: opacity 0.15s ease;
}

.pg-share-btn:hover {
	opacity: 0.85;
	color: #fff;
}

.pg-share-native {
	background: #d6006e;
}

.pg-share-fb {
	background: #1877f2;
}

.pg-share-x {
	background: #000;
}

.pg-share-pin {
	background: #e60023;
}

.pg-share-copy {
	background: #6b6b6b;
}

.pg-error {
	color: #b30020;
	text-align: center;
}

.pg-info {
	text-align: center;
}
