.cbz-panorama {
	margin: 28px 0 0;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
	backdrop-filter: blur(8px);
}

.cbz-panorama__header {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 14px;
	margin-bottom: 14px;
}

.cbz-panorama__title {
	margin: 0;
	font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.cbz-panorama__hint {
	margin: 0;
	color: var(--color-muted, #a6a6a6);
	font-size: .9rem;
}

.cbz-panorama__mount {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	min-height: 360px;
	border-radius: 14px;
	overflow: hidden;
	background: #111;
}

.cbz-panorama__canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.cbz-panorama__canvas[hidden],
.cbz-panorama__spin[hidden] {
	display: none;
}

.cbz-panorama__spin {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	touch-action: none;
	cursor: grab;
	user-select: none;
	background: radial-gradient(circle at 50% 80%, rgba(201, 162, 39, .08), rgba(15, 17, 21, .95));
}

.cbz-panorama__spin.is-dragging {
	cursor: grabbing;
}

.cbz-panorama__spin-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
}

.cbz-panorama__loading {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(circle at 50% 50%, rgba(201, 162, 39, .12), rgba(15, 17, 21, .9));
	color: #fff;
	font-weight: 700;
	z-index: 3;
}

.cbz-panorama__toolbar {
	position: absolute;
	top: 12px;
	inset-inline-end: 12px;
	display: flex;
	gap: 8px;
	z-index: 6;
}

.cbz-panorama__btn {
	border: 1px solid rgba(255, 255, 255, .2);
	background: rgba(15, 17, 21, .7);
	color: #fff;
	border-radius: 999px;
	padding: 8px 12px;
	font-size: .8rem;
	cursor: pointer;
	transition: all 200ms ease;
}

.cbz-panorama__btn:hover {
	border-color: rgba(201, 162, 39, .8);
	color: #c9a227;
}

.cbz-panorama__scenes {
	position: absolute;
	bottom: 12px;
	inset-inline-start: 12px;
	display: flex;
	flex-wrap: wrap;
	max-width: calc(100% - 24px);
	gap: 8px;
	z-index: 6;
}

.cbz-panorama__scene-btn {
	border: 1px solid rgba(255, 255, 255, .2);
	background: rgba(15, 17, 21, .68);
	color: #fff;
	border-radius: 999px;
	padding: 7px 12px;
	font-size: .78rem;
	cursor: pointer;
}

.cbz-panorama__scene-btn.is-active {
	border-color: rgba(201, 162, 39, .75);
	color: #c9a227;
}

.cbz-hotspot-card {
	position: absolute;
	inset-inline-end: 14px;
	bottom: 60px;
	width: min(360px, calc(100% - 28px));
	background: rgba(20, 24, 31, .85);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 16px;
	box-shadow: 0 18px 36px rgba(0, 0, 0, .45);
	z-index: 7;
	overflow: hidden;
	color: #fff;
}

.cbz-hotspot-card__img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
}

.cbz-hotspot-card__body {
	padding: 14px;
	display: grid;
	gap: 8px;
}

.cbz-hotspot-card__title {
	margin: 0;
	font-size: 1rem;
}

.cbz-hotspot-card__desc {
	margin: 0;
	color: #d6d6d6;
	font-size: .9rem;
	line-height: 1.8;
}

.cbz-hotspot-card__cta {
	justify-self: start;
	border: 1px solid rgba(201, 162, 39, .6);
	color: #c9a227;
	border-radius: 999px;
	padding: 6px 12px;
	font-size: .83rem;
}

.cbz-hotspot-card__close {
	position: absolute;
	top: 8px;
	inset-inline-end: 8px;
	border: 0;
	background: rgba(0, 0, 0, .4);
	color: #fff;
	border-radius: 999px;
	width: 28px;
	height: 28px;
	cursor: pointer;
}

@media (max-width: 760px) {
	.cbz-panorama__mount {
		aspect-ratio: 4 / 3;
		min-height: 300px;
	}
	.cbz-hotspot-card {
		bottom: 12px;
	}
}

