/* ─── ToolDock ─────────────────────────────────────────────────────────────
   Styles for the floating social-media icon dock (ToolDock / ToolDockTile).
   Dynamic values (size, gap, zIndex, y, scale, tooltip position) are still
   applied as inline styles in the component because they are JS-computed.
   ────────────────────────────────────────────────────────────────────────── */

/* ── Outer fixed wrapper ─────────────────────────────────────────────────── */
.tool-dock-wrapper {
	position: fixed;
	right: 30px;
	bottom: 95px;
	z-index: 9000;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	gap: 8px;
}

/* ── Tooltip ─────────────────────────────────────────────────────────────── */
.tool-dock-tooltip {
	pointer-events: none;
	position: absolute;
	transform: translateY(-50%);
	white-space: nowrap;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(15, 15, 22, 0.92);
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: #e2e8f0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
	transition: top 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Caret pointing right */
.tool-dock-tooltip-caret {
	position: absolute;
	right: -5px;
	top: 50%;
	margin-top: -4.5px;
	width: 9px;
	height: 9px;
	transform: rotate(-45deg);
	border-right: 1px solid rgba(255, 255, 255, 0.12);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(15, 15, 22, 0.92);
	border-radius: 0 0 2px 0;
}

/* ── Rail (the animated ul) ──────────────────────────────────────────────── */
.tool-dock-rail {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* ── Individual tile (li) ────────────────────────────────────────────────── */
.tool-dock-tile {
	position: absolute;
	bottom: 0;
	left: 0;
	list-style: none;
	cursor: pointer;
	touch-action: none;
	transform-origin: center bottom;
}

/* ── ToolDockTile inner container ────────────────────────────────────────── */
.tool-dock-tile-inner {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 23%;
	box-shadow:
		0 2px 8px rgba(0, 0, 0, 0.25),
		0 0 0 0.5px rgba(0, 0, 0, 0.1);
}

/* Gloss overlay inside each tile */
.tool-dock-tile-gloss {
	pointer-events: none;
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.18), transparent);
	box-shadow:
		inset 0 0 0 0.5px rgba(255, 255, 255, 0.14),
		inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

@media (max-width: 767px) {
	.tool-dock-wrapper {
		right: 20px;
	}
}
