/* Pantalla del candado */

/* -------- candado -------- */
#lock-screen {
	position: fixed;
	inset: 0;
	z-index: 50;
	background: radial-gradient(circle at 50% 35%, #fff3c4 0%, var(--cream) 70%);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 0 16px;
	transition:
		opacity 0.7s ease,
		visibility 0.7s ease;
}
#lock-screen.closed {
	opacity: 0;
	visibility: hidden;
}
.lock-label {
	font-family: 'Caveat', cursive;
	font-size: 1.4rem;
	color: var(--ink-soft);
	margin-bottom: 30px;
	text-align: center;
}
.lock-label b {
	color: var(--sun-deep);
	font-size: 1.7rem;
}
.heart-lock {
	position: relative;
	width: min(230px, 66vw);
	display: flex;
	flex-direction: column;
	align-items: center;
	filter: drop-shadow(0 18px 30px rgba(150, 100, 0, 0.25));
	transition:
		transform 0.6s cubic-bezier(0.6, -0.2, 0.3, 1.2),
		opacity 0.5s ease 0.1s;
}
.heart-lock.unlocked {
	transform: scale(1.06) translateY(-6px);
	opacity: 0;
}
.shackle {
	position: relative;
	z-index: 1;
	width: 32%;
	aspect-ratio: 1/1.2;
	margin-bottom: -10%;
	border: 10px solid #b87a00;
	border-bottom: none;
	border-radius: 100px 100px 0 0;
	transition: transform 0.6s cubic-bezier(0.6, -0.2, 0.3, 1.2);
	transform-origin: left bottom;
}
.heart-lock.unlocked .shackle {
	transform: rotate(-35deg) translateY(-6%);
}
.heart-body {
	position: relative;
	width: 100%;
	height: auto;
	z-index: 2;
	display: block;
}
.lock-grad-start {
	stop-color: #ffd23f;
}
.lock-grad-end {
	stop-color: #e08f00;
}
.dials {
	position: absolute;
	left: 50%;
	top: 60%;
	transform: translate(-50%, -50%);
	display: flex;
	gap: 7px;
	z-index: 3;
}
.dial {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}
.dial-btn {
	background: rgba(59, 42, 16, 0.2);
	border: none;
	cursor: pointer;
	color: #fff8e1;
	font-size: 0.7rem;
	line-height: 1;
	padding: 3px 7px;
	border-radius: 5px;
	transition:
		background 0.2s ease,
		transform 0.2s ease;
}
.dial-btn:hover {
	background: rgba(59, 42, 16, 0.35);
	transform: scale(1.1);
}
.dial-value {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 1.1rem;
	font-variant-numeric: tabular-nums;
	color: var(--ink);
	background: var(--cream);
	border: 2px solid #fff3c4;
	border-radius: 8px;
	width: 1.9em;
	text-align: center;
	padding: 3px 0;
}
.lock-hint {
	margin-top: 30px;
	font-size: 0.85rem;
	color: var(--ink-soft);
	text-align: center;
	max-width: 280px;
}
