/* Gioco del Timone — stile Molo Caffè. Usa le variabili colore del tema. */
.molocaffe-timone{
	--mt-arancio: var(--color-arancio, #e4622a);
	--mt-espresso: var(--color-espresso, #17110e);
	--mt-cream: var(--color-cream, #f6f1e7);
	--mt-sand: var(--color-sand, #e9e0cf);
	--mt-oro: var(--color-oro, #be8a2e);
	--mt-blu: var(--color-blu, #23507a);
	--mt-legno: #6b4423;
	max-width: 460px;
	margin: 0 auto;
	text-align: center;
	font-family: inherit;
}
.molocaffe-timone__intro{
	font-size: 1.05rem;
	color: var(--mt-espresso);
	margin: 0 0 1.1rem;
}
.molocaffe-timone__stage{
	position: relative;
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
	aspect-ratio: 1 / 1;
}
/* Freccia/puntatore in alto */
.molocaffe-timone__pointer{
	position: absolute;
	top: -6px; left: 50%;
	transform: translateX(-50%);
	width: 0; height: 0;
	border-left: 15px solid transparent;
	border-right: 15px solid transparent;
	border-top: 26px solid var(--mt-arancio);
	filter: drop-shadow(0 2px 2px rgba(0,0,0,.25));
	z-index: 4;
}
.molocaffe-timone__wheel{
	width: 100%; height: 100%;
	display: block;
	transform: rotate(0deg);
	transition: transform 0s;
	filter: drop-shadow(0 8px 22px rgba(23,17,14,.28));
}
.molocaffe-timone.is-spinning .molocaffe-timone__wheel{
	transition: transform 4.6s cubic-bezier(.14,.72,.16,1);
}
/* Cerchione di legno (anello) */
.molocaffe-timone__wheel .mt-rim{
	fill: none;
	stroke: url(#mt-wood);
	stroke-width: 20;
}
.molocaffe-timone__wheel .mt-handle{
	fill: url(#mt-wood);
	stroke: #3f2814;
	stroke-width: 2;
}
.molocaffe-timone__wheel .mt-label{
	font-size: 13.5px;
	font-weight: 700;
	fill: var(--mt-espresso);
	font-family: inherit;
	paint-order: stroke;
	stroke: rgba(255,255,255,.8);
	stroke-width: 3px;
	stroke-linejoin: round;
}
/* Mozzo centrale */
.molocaffe-timone__hub{
	position: absolute;
	top: 50%; left: 50%;
	width: 58px; height: 58px;
	transform: translate(-50%,-50%);
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #8a5a30, var(--mt-legno) 60%, #4a2f18);
	box-shadow: inset 0 2px 4px rgba(255,255,255,.25), 0 3px 8px rgba(0,0,0,.35);
	border: 3px solid #4a2f18;
	z-index: 3;
}
.molocaffe-timone__hub::after{
	content: "⚓";
	position: absolute; inset: 0;
	display: grid; place-items: center;
	font-size: 26px; color: var(--mt-cream);
}
.molocaffe-timone__spin{
	margin-top: 1.4rem;
	display: inline-block;
	padding: .85rem 2.2rem;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: .02em;
	color: var(--mt-cream);
	background: var(--mt-arancio);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: transform .15s ease, background .2s ease, opacity .2s ease;
	box-shadow: 0 6px 16px color-mix(in srgb, var(--mt-arancio) 40%, transparent);
}
.molocaffe-timone__spin:hover:not(:disabled){ transform: translateY(-2px); background: #d1531d; }
.molocaffe-timone__spin:disabled{ opacity: .5; cursor: not-allowed; box-shadow: none; }
.molocaffe-timone__result{
	margin-top: 1.1rem;
	min-height: 1.5rem;
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--mt-espresso);
}
.molocaffe-timone__result.is-win{ color: var(--mt-arancio); }
.molocaffe-timone__result .mt-code{
	display: inline-block;
	margin-top: .35rem;
	padding: .3rem .8rem;
	border: 2px dashed var(--mt-oro);
	border-radius: .6rem;
	font-family: ui-monospace, monospace;
	letter-spacing: .08em;
	background: var(--mt-cream);
}
.molocaffe-timone--locked{ padding: 1.5rem; color: var(--color-espresso, #17110e); }
