/**
 * Footer Dial — hash knob beside The Fridge. ASCII density only.
 * Version: 20260911-dial4
 */
:root {
	--rr-dial-ink: #9dffb0;
	--rr-dial-mute: rgba(157, 255, 176, 0.42);
	--rr-dial-glow: rgba(109, 255, 210, 0.38);
}

.rr-footer__cluster {
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	justify-content: center;
	gap: 18px;
	margin: 2px 0 0;
}

/*
 * Hello Elementor paints every button pink on hover.
 * Same Hello-button kill pattern as The Fridge — do not share those selectors.
 */
button.rr-dial,
[type="button"].rr-dial {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 3px;
	margin: 8px 0 4px;
	padding: 0;
	width: 36px;
	min-height: 46px;
	border: 0;
	border-radius: 0;
	background: transparent;
	background-color: transparent;
	background-image: none;
	box-shadow: none;
	color: inherit;
	cursor: pointer;
	opacity: 0.48;
	-webkit-tap-highlight-color: transparent;
}

button.rr-dial:hover,
button.rr-dial:focus,
button.rr-dial:focus-visible,
button.rr-dial:active,
[type="button"].rr-dial:hover,
[type="button"].rr-dial:focus,
[type="button"].rr-dial:focus-visible,
[type="button"].rr-dial:active {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: inherit !important;
	opacity: 1;
}

button.rr-dial:focus-visible,
[type="button"].rr-dial:focus-visible {
	outline: 1px solid #c8b6ff;
	outline-offset: 3px;
}

.rr-dial__face {
	position: relative;
	width: 28px;
	height: 28px;
	border: 1px solid rgba(157, 255, 176, 0.72);
	border-radius: 50%;
	background:
		radial-gradient(circle at 38% 32%, rgba(157, 255, 176, 0.16), transparent 46%),
		#07140c;
	box-shadow:
		2px 2px 0 rgba(0, 0, 0, 0.5),
		inset 0 0 0 1px rgba(0, 255, 65, 0.08);
}

.rr-dial__face::before,
.rr-dial__face::after,
.rr-dial__tick {
	position: absolute;
	background: var(--rr-dial-mute);
	pointer-events: none;
}

.rr-dial__face::before {
	content: "";
	left: 50%;
	top: -5px;
	width: 1px;
	height: 3px;
	transform: translateX(-50%);
}

.rr-dial__face::after {
	content: "";
	right: -5px;
	top: 50%;
	width: 3px;
	height: 1px;
	transform: translateY(-50%);
}

.rr-dial__tick {
	left: -5px;
	top: 50%;
	width: 3px;
	height: 1px;
	transform: translateY(-50%);
}

.rr-dial__tick--hi {
	left: 50%;
	bottom: -5px;
	top: auto;
	width: 1px;
	height: 3px;
	transform: translateX(-50%);
}

.rr-dial__knob {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 2px;
	height: 9px;
	margin: -10px 0 0 -1px;
	background: var(--rr-dial-ink);
	box-shadow: 0 0 6px var(--rr-dial-glow);
	transform-origin: 50% 10px;
	transform: rotate(var(--rr-dial-angle, -48deg));
	transition: transform 0.16s ease;
}

.rr-dial__mark {
	font: 400 8px/1 "DotGothic16", "Roboto Mono", monospace;
	letter-spacing: 0.18em;
	text-transform: lowercase;
	color: var(--rr-footer-muted, #8ab790);
}

.rr-dial-field {
	position: fixed;
	inset: 0;
	z-index: 8;
	margin: 0;
	padding: 6px 0 0;
	overflow: hidden;
	pointer-events: none;
	user-select: none;
	white-space: pre;
	font: 11px/1.2 ui-monospace, "Fragment Mono", "Roboto Mono", monospace;
	color: #00ff41;
}

html[data-rr-dial="0"] .rr-dial-field {
	display: none;
}

html[data-rr-dial="1"] .rr-dial-field {
	opacity: 0.09;
	letter-spacing: 0.72em;
	line-height: 1.9;
}

html[data-rr-dial="2"] .rr-dial-field {
	opacity: 0.15;
	letter-spacing: 0.22em;
	line-height: 1.28;
}

html[data-rr-dial="3"] .rr-dial-field {
	opacity: 0.22;
	letter-spacing: 0;
	line-height: 1.08;
}

@media (prefers-reduced-motion: reduce) {
	.rr-dial__knob {
		transition: none !important;
	}
}
