/**
 * 3D viewer disclaimer — matches TopNotch PDP chrome
 * (Hanken Grotesk, ink + muted greys). Top-left, no chrome, inset from edges.
 */
.viewer-app .stage,
.stage {
	position: relative;
}

.tnf-cfg-disclaimer {
	position: absolute;
	top: 14px;
	left: 14px;
	right: auto;
	bottom: auto;
	width: auto;
	max-width: min(28rem, calc(100% - 28px));
	z-index: 4;
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	pointer-events: none;
	background: transparent;
	border: 0;
	box-shadow: none;
	color: var(--tnf-muted, #6f6f6f);
	font-family: var(--tnf-font-body, "Hanken Grotesk", sans-serif);
}

.tnf-cfg-disclaimer-icon {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	margin-top: 1px;
	background-color: var(--tnf-ink, #111111);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='9' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M12 11.2V16.5' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='8.2' r='1' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='9' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M12 11.2V16.5' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='8.2' r='1' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}

.tnf-cfg-disclaimer-text {
	margin: 0;
	flex: 1 1 auto;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: 0.01em;
	color: var(--tnf-muted, #6f6f6f);
}

@media (max-width: 768px) {
	.tnf-cfg-disclaimer {
		top: 10px;
		left: 10px;
		right: auto;
		bottom: auto;
		max-width: calc(100% - 20px);
		padding: 0;
		gap: 6px;
	}

	.tnf-cfg-disclaimer-text {
		font-size: 10px;
		line-height: 1.4;
	}
}

/* ---- Centred 3D rotate hint ---- */
.tnf-cfg-rotate-hint {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	transform: translate(-50%, -50%);
	pointer-events: none;
	opacity: 1;
	visibility: visible;
	transition: opacity 0.35s var(--tnf-ease, cubic-bezier(0.22, 0.61, 0.36, 1)),
		visibility 0.35s linear;
}

.tnf-cfg-rotate-hint.is-hidden {
	opacity: 0;
	visibility: hidden;
}

.tnf-cfg-rotate-hint-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	box-sizing: border-box;
	border: 1px solid var(--tnf-ink, #111111) !important;
	border-radius: 50% !important;
	background: rgb(255 255 255 / 0.92) !important;
	box-shadow: 0 2px 8px rgb(0 0 0 / 0.12);
	overflow: hidden !important;
}

.tnf-cfg-rotate-hint-icon::before {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	background-color: var(--tnf-ink, #111111);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4.2 9.2A8 8 0 0 1 19.5 8.8' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3Cpath d='M17.2 6.2L19.6 8.8l-3.2 1.2' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M19.8 14.8A8 8 0 0 1 4.5 15.2' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3Cpath d='M6.8 17.8L4.4 15.2l3.2-1.2' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='2.1' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center / 26px 26px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4.2 9.2A8 8 0 0 1 19.5 8.8' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3Cpath d='M17.2 6.2L19.6 8.8l-3.2 1.2' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M19.8 14.8A8 8 0 0 1 4.5 15.2' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3Cpath d='M6.8 17.8L4.4 15.2l3.2-1.2' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='2.1' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center / 26px 26px no-repeat;
	animation: tnf-cfg-rotate-hint-pulse 2.8s var(--tnf-ease, cubic-bezier(0.22, 0.61, 0.36, 1)) infinite;
}

.tnf-cfg-rotate-hint-label {
	margin: 0;
	color: var(--tnf-ink, #111111);
	font-family: var(--tnf-font-body, "Hanken Grotesk", sans-serif);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
	text-shadow: 0 0 10px rgb(255 255 255 / 0.9);
}

.tnf-cfg-rotate-hint-label--mobile {
	display: none;
}

@keyframes tnf-cfg-rotate-hint-pulse {
	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.72;
		transform: scale(0.94);
	}
}

@media (max-width: 768px) {
	.tnf-cfg-rotate-hint {
		gap: 6px;
	}

	.tnf-cfg-rotate-hint-icon {
		width: 48px;
		height: 48px;
		border-radius: 50% !important;
	}

	.tnf-cfg-rotate-hint-icon::before {
		-webkit-mask-size: 24px 24px;
		mask-size: 24px 24px;
	}

	.tnf-cfg-rotate-hint-label {
		font-size: 10px;
		letter-spacing: 0.06em;
	}

	.tnf-cfg-rotate-hint-label--desk {
		display: none;
	}

	.tnf-cfg-rotate-hint-label--mobile {
		display: block;
	}
}
