/*
 * Copyright (C) 2026 Fluxer Contributors
 *
 * This file is part of Fluxer.
 *
 * Fluxer is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Fluxer is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with Fluxer. If not, see <https://www.gnu.org/licenses/>.
 */

.jumpLinkButton {
	appearance: none;
	-webkit-appearance: none;
	color: inherit;
	background-color: var(--markup-jump-link-fill);
	transition:
		background-color var(--transition-fast),
		border-color var(--transition-fast);
}

.jumpLinkButton:hover {
	background-color: var(--markup-jump-link-hover-fill);
}

.jumpLinkInfo {
	display: inline-flex;
	align-items: center;
	gap: 0.2rem;
	line-height: inherit;
	white-space: nowrap;
}

.jumpLinkGuild {
	display: inline-flex;
	align-items: center;
	gap: 0.2rem;
	line-height: inherit;
	flex-shrink: 0;
}

.jumpLinkGuildIcon {
	width: 0.9em;
	height: 0.9em;
	--guild-icon-size: 0.9em;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	vertical-align: middle;
}

.jumpLinkGuildIcon > svg,
.jumpLinkGuildIcon > img {
	display: block;
}

.jumpLinkGuildName {
	font-weight: 500;
	line-height: inherit;
	white-space: nowrap;
}

.jumpLinkCaret {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: inherit;
	vertical-align: baseline;
}

.jumpLinkLabel {
	font-weight: 500;
	white-space: nowrap;
	line-height: inherit;
	color: inherit;
}

.jumpLinkDm {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	line-height: inherit;
	color: inherit;
}

.jumpLinkDmName {
	font-weight: 500;
	color: inherit;
	line-height: inherit;
	white-space: nowrap;
}

.jumpLinkMessage {
	display: inline-flex;
	align-items: center;
	gap: 0.1rem;
	line-height: inherit;
	vertical-align: baseline;
	flex-shrink: 0;
}

.jumpLinkMessageIcon {
	width: 0.9em;
	height: 0.9em;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	vertical-align: middle;
	line-height: inherit;
}

.jumpLinkMessageIcon > svg {
	display: block;
}

.jumpLinkChannel {
	display: inline-flex;
	align-items: center;
	gap: 0.2rem;
	line-height: inherit;
}

.jumpLinkChannelIcon {
	width: 0.9em;
	height: 0.9em;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: inherit;
	flex-shrink: 0;
}

.jumpLinkChannelIcon > svg {
	display: block;
	color: inherit;
}

.jumpLinkChannelName {
	font-weight: 500;
	color: inherit;
	white-space: nowrap;
	line-height: inherit;
}
