.ip-qr-trigger {
	width: 18px;
	height: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 18px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: #94a3b8;
	cursor: pointer;
	transition: color 0.18s ease, background-color 0.18s ease;
}

.ip-qr-trigger:hover,
.ip-qr-trigger:focus-visible,
.ip-qr-trigger[aria-expanded="true"] {
	background: rgba(34, 211, 238, 0.1);
	color: #67e8f9;
}

.ip-qr-trigger:focus-visible {
	outline: 1px solid rgba(103, 232, 249, 0.9);
	outline-offset: 2px;
}

.ip-qr-trigger:disabled {
	cursor: not-allowed;
	opacity: 0.4;
}

.ip-qr-trigger-icon {
	width: 16px;
	height: 16px;
	display: block;
	background: currentColor;
	-webkit-mask: url('/images/icons/icon-erweima.svg') center / contain no-repeat;
	mask: url('/images/icons/icon-erweima.svg') center / contain no-repeat;
}

.ip-qr-popover {
	position: fixed;
	z-index: 9000;
	max-width: calc(100vw - 24px);
	padding: 10px;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 12px 28px rgba(2, 6, 23, 0.24);
	pointer-events: auto;
}

.ip-qr-popover.is-hidden {
	display: none;
}

.ip-qr-code {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2px;
	background: #ffffff;
	line-height: 0;
}

.ip-qr-code canvas,
.ip-qr-code img {
	display: block;
	width: min(100px, calc(100vw - 48px)) !important;
	height: auto !important;
	aspect-ratio: 1;
	background: #ffffff;
}

.ip-qr-caption {
	margin: 6px 0 0;
	color: #475569;
	font-size: 12px;
	line-height: 1.35;
	text-align: center;
}
