.pd-page {
	min-width: 0;
}

.pd-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	padding: 0.85rem 1rem;
	border-radius: 1rem;
	background:
		radial-gradient(circle at 12% 20%, rgba(99, 102, 241, 0.24), transparent 52%),
		radial-gradient(circle at 88% 82%, rgba(6, 182, 212, 0.16), transparent 44%),
		linear-gradient(130deg, #1a2544 0%, #1f2f57 42%, #25396c 100%);
	border: 1px solid rgba(145, 172, 255, 0.32);
	box-shadow: 0 12px 28px rgba(33, 45, 88, 0.22);
}

.pd-hero-main {
	min-width: 0;
	flex: 1 1 16rem;
}

.pd-hero-title {
	margin: 0;
	color: #e8efff;
	font-size: clamp(1.05rem, 2vw, 1.28rem);
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

.pd-hero-subtitle {
	margin: 0.32rem 0 0;
	font-size: 0.8rem;
	line-height: 1.5;
	color: rgba(216, 228, 255, 0.86);
	max-width: 36rem;
}

.pd-hero-strip {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	padding: 0.55rem 0.85rem;
	border-radius: 0.75rem;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(226, 235, 255, 0.92);
	font-size: 0.78rem;
	white-space: nowrap;
}

.pd-strip-item strong {
	color: #fff;
	font-weight: 700;
	margin-right: 0.12rem;
}

.pd-carousel-section {
	margin-top: 1rem;
}

.pd-carousel {
	position: relative;
}

.pd-carousel-inner {
	border-radius: 1.15rem;
	overflow: hidden;
}

.pd-card {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	min-height: clamp(28rem, 52vh, 36rem);
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.98));
	border: 1px solid rgba(148, 163, 184, 0.22);
	box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
	overflow: hidden;
}

.pd-card-media {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(1rem, 2.5vw, 1.5rem);
	background:
		radial-gradient(circle at 42% 18%, color-mix(in srgb, var(--pd-accent) 16%, transparent), transparent 54%),
		linear-gradient(160deg, rgba(248, 250, 255, 0.92) 0%, rgba(226, 232, 240, 0.55) 100%);
	border-right: 1px solid rgba(148, 163, 184, 0.14);
	min-width: 0;
}

.pd-card--has-shot .pd-card-media {
	background:
		radial-gradient(circle at 38% 14%, color-mix(in srgb, var(--pd-accent) 20%, transparent), transparent 56%),
		linear-gradient(155deg, rgba(248, 250, 255, 0.96) 0%, rgba(226, 232, 240, 0.62) 100%);
}

.pd-shot-window {
	width: 100%;
	max-width: 100%;
	border-radius: 0.95rem;
	border: 1px solid rgba(148, 163, 184, 0.28);
	background: rgba(255, 255, 255, 0.98);
	box-shadow:
		0 20px 42px rgba(15, 23, 42, 0.12),
		0 0 0 1px rgba(255, 255, 255, 0.72) inset,
		0 0 40px color-mix(in srgb, var(--pd-accent) 10%, transparent);
	overflow: hidden;
	transform: translateY(0);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.pd-card:hover .pd-shot-window {
	transform: translateY(-2px);
	box-shadow:
		0 24px 48px rgba(15, 23, 42, 0.14),
		0 0 0 1px rgba(255, 255, 255, 0.78) inset,
		0 0 48px color-mix(in srgb, var(--pd-accent) 14%, transparent);
}

.pd-shot-window-bar {
	display: flex;
	align-items: center;
	gap: 0.38rem;
	padding: 0.58rem 0.78rem;
	border-bottom: 1px solid rgba(148, 163, 184, 0.18);
	background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.pd-shot-dot {
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 999px;
	background: rgba(148, 163, 184, 0.42);
}

.pd-shot-dot:nth-child(1) {
	background: #ff5f57;
}

.pd-shot-dot:nth-child(2) {
	background: #febc2e;
}

.pd-shot-dot:nth-child(3) {
	background: #28c840;
}

.pd-shot-window-title {
	margin-left: 0.3rem;
	font-size: 0.72rem;
	font-weight: 600;
	color: #64748b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pd-shot-window-body {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	max-height: clamp(15rem, 38vh, 24rem);
	overflow: auto;
	background: linear-gradient(180deg, #eef2f7 0%, #e2e8f0 100%);
	scrollbar-width: thin;
}

.pd-shot-image {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	object-position: top center;
}

.pd-shot-fallback {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	width: 100%;
	min-height: 14rem;
	padding: 1.5rem 1rem;
}

.pd-card-visual-glow {
	position: absolute;
	inset: 20% 12%;
	border-radius: 999px;
	background: color-mix(in srgb, var(--pd-accent) 22%, transparent);
	filter: blur(36px);
	opacity: 0.9;
}

.pd-card-icon-wrap {
	position: relative;
	z-index: 1;
	width: clamp(5rem, 14vw, 7rem);
	height: clamp(5rem, 14vw, 7rem);
	border-radius: 1.35rem;
	display: grid;
	place-items: center;
	background: linear-gradient(145deg, color-mix(in srgb, var(--pd-accent) 88%, #fff), var(--pd-accent));
	box-shadow: 0 16px 36px color-mix(in srgb, var(--pd-accent) 34%, transparent);
}

.pd-card-icon {
	font-size: clamp(2rem, 4.5vw, 2.6rem);
	color: #fff;
}

.pd-shot-fallback-hint {
	position: relative;
	z-index: 1;
	margin: 0;
	font-size: 0.8rem;
	color: #64748b;
	text-align: center;
}

.pd-card-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.95rem;
	padding: clamp(1.35rem, 3vw, 2rem);
	min-width: 0;
}

.pd-card-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.85rem;
}

.pd-card-eyebrow {
	margin: 0 0 0.25rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: color-mix(in srgb, var(--pd-accent) 72%, #334155);
}

.pd-card-title {
	margin: 0;
	font-size: clamp(1.45rem, 2.6vw, 1.95rem);
	font-weight: 700;
	color: #0f172a;
	line-height: 1.15;
}

.pd-card-status {
	flex: 0 0 auto;
	padding: 0.28rem 0.62rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 600;
	color: color-mix(in srgb, var(--pd-accent) 78%, #0f172a);
	background: color-mix(in srgb, var(--pd-accent) 12%, #fff);
	border: 1px solid color-mix(in srgb, var(--pd-accent) 24%, transparent);
}

.pd-card-desc {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.75;
	color: #475569;
}

.pd-card-stack {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.pd-stack-pill {
	padding: 0.24rem 0.62rem;
	border-radius: 999px;
	font-size: 0.74rem;
	font-weight: 600;
	color: #334155;
	background: rgba(148, 163, 184, 0.14);
	border: 1px solid rgba(148, 163, 184, 0.18);
}

.pd-card-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-top: 0.2rem;
}

.pd-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.38rem;
	padding: 0.58rem 0.95rem;
	border-radius: 0.75rem;
	font-size: 0.84rem;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid transparent;
	transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.pd-btn-primary {
	color: #fff;
	background: linear-gradient(135deg, color-mix(in srgb, var(--pd-accent) 92%, #fff), var(--pd-accent));
	box-shadow: 0 10px 24px color-mix(in srgb, var(--pd-accent) 28%, transparent);
}

.pd-btn-primary:hover {
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 14px 28px color-mix(in srgb, var(--pd-accent) 34%, transparent);
}

.pd-btn-ghost {
	color: #334155;
	background: rgba(255, 255, 255, 0.88);
	border-color: rgba(148, 163, 184, 0.28);
}

.pd-btn-ghost:hover {
	color: #0f172a;
	background: #fff;
}

.pd-btn-disabled {
	color: #94a3b8;
	background: rgba(148, 163, 184, 0.1);
	border: 1px dashed rgba(148, 163, 184, 0.28);
	cursor: default;
}

.pd-carousel-control {
	width: auto;
	height: auto;
	top: 50%;
	transform: translateY(-50%);
	opacity: 1;
}

.pd-carousel-control.carousel-control-prev {
	left: -0.15rem;
}

.pd-carousel-control.carousel-control-next {
	right: -0.15rem;
}

.pd-carousel-control-icon {
	display: grid;
	place-items: center;
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(148, 163, 184, 0.24);
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
	color: #334155;
	font-size: 1rem;
}

.pd-carousel-control:hover .pd-carousel-control-icon {
	background: #fff;
	color: #0f172a;
}

.pd-thumb-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-top: 0.95rem;
}

.pd-thumb {
	display: inline-flex;
	align-items: center;
	gap: 0.42rem;
	padding: 0.48rem 0.78rem;
	border-radius: 0.8rem;
	border: 1px solid rgba(148, 163, 184, 0.22);
	background: rgba(255, 255, 255, 0.82);
	color: #475569;
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.pd-thumb i {
	color: var(--pd-accent);
}

.pd-thumb-cover {
	width: 1.5rem;
	height: 1rem;
	border-radius: 0.22rem;
	object-fit: cover;
	object-position: top center;
	flex: 0 0 auto;
	border: 1px solid rgba(148, 163, 184, 0.18);
}

.pd-thumb:hover,
.pd-thumb.is-active {
	color: #0f172a;
	border-color: color-mix(in srgb, var(--pd-accent) 34%, transparent);
	background: color-mix(in srgb, var(--pd-accent) 8%, #fff);
	box-shadow: 0 8px 18px color-mix(in srgb, var(--pd-accent) 12%, transparent);
}

.pd-empty {
	margin-top: 1rem;
	padding: 2rem 1rem;
	border-radius: 1rem;
	text-align: center;
	color: #64748b;
	background: rgba(148, 163, 184, 0.08);
	border: 1px dashed rgba(148, 163, 184, 0.24);
}

@media (max-width: 991.98px) {
	.pd-card {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.pd-card-media {
		border-right: 0;
		border-bottom: 1px solid rgba(148, 163, 184, 0.14);
		padding: 1rem;
	}

	.pd-shot-window-body {
		max-height: clamp(12rem, 40vw, 18rem);
	}

	.pd-carousel-control.carousel-control-prev {
		left: 0.25rem;
	}

	.pd-carousel-control.carousel-control-next {
		right: 0.25rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pd-shot-window {
		transition: none;
	}

	.pd-card:hover .pd-shot-window {
		transform: none;
	}
}

[data-bs-theme="dark"] .pd-card {
	background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(12, 18, 32, 0.98));
	border-color: rgba(148, 163, 184, 0.16);
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

[data-bs-theme="dark"] .pd-card-media {
	background:
		radial-gradient(circle at 38% 14%, color-mix(in srgb, var(--pd-accent) 16%, transparent), transparent 56%),
		linear-gradient(155deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.92) 100%);
	border-right-color: rgba(148, 163, 184, 0.12);
}

[data-bs-theme="dark"] .pd-shot-window {
	background: rgba(15, 23, 42, 0.96);
	border-color: rgba(148, 163, 184, 0.18);
}

[data-bs-theme="dark"] .pd-shot-window-bar {
	background: linear-gradient(180deg, rgba(30, 41, 59, 0.96) 0%, rgba(15, 23, 42, 0.96) 100%);
	border-bottom-color: rgba(148, 163, 184, 0.14);
}

[data-bs-theme="dark"] .pd-shot-window-title {
	color: #94a3b8;
}

[data-bs-theme="dark"] .pd-shot-window-body {
	background: linear-gradient(180deg, rgba(30, 41, 59, 0.72) 0%, rgba(15, 23, 42, 0.88) 100%);
}

[data-bs-theme="dark"] .pd-card-title {
	color: #e2e8f0;
}

[data-bs-theme="dark"] .pd-card-desc {
	color: #94a3b8;
}

[data-bs-theme="dark"] .pd-stack-pill {
	color: #cbd5e1;
	background: rgba(148, 163, 184, 0.12);
	border-color: rgba(148, 163, 184, 0.16);
}

[data-bs-theme="dark"] .pd-btn-ghost {
	color: #cbd5e1;
	background: rgba(15, 23, 42, 0.72);
	border-color: rgba(148, 163, 184, 0.2);
}

[data-bs-theme="dark"] .pd-thumb {
	background: rgba(15, 23, 42, 0.82);
	border-color: rgba(148, 163, 184, 0.16);
	color: #94a3b8;
}

[data-bs-theme="dark"] .pd-thumb.is-active,
[data-bs-theme="dark"] .pd-thumb:hover {
	color: #e2e8f0;
}

[data-bs-theme="dark"] .pd-carousel-control-icon {
	background: rgba(15, 23, 42, 0.92);
	border-color: rgba(148, 163, 184, 0.18);
	color: #cbd5e1;
}

[data-bs-theme="dark"] .pd-empty {
	color: #94a3b8;
	background: rgba(148, 163, 184, 0.06);
}

[data-bs-theme="dark"] .pd-shot-fallback-hint {
	color: #94a3b8;
}

@media (max-width: 991.98px) {
	[data-bs-theme="dark"] .pd-card-media {
		border-bottom-color: rgba(148, 163, 184, 0.12);
	}
}
