/* Belgammon QR */
.bgqr-button {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 99990;
	box-sizing: border-box;
	width: 30px;
	height: 30px;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #bbb;
	border-radius: 6px;
	background: #fff;
	color: #333;
	opacity: 0.5;
	cursor: pointer;
	box-shadow: none;
	transition: opacity 0.15s;
}
.bgqr-button:hover,
.bgqr-button:focus-visible {
	opacity: 1;
}
.bgqr-button:focus-visible {
	outline: 2px solid #333;
	outline-offset: 2px;
}

.bgqr-dialog {
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: #fff;
	color: #222;
	max-width: none;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.bgqr-dialog::backdrop {
	background: rgba(0, 0, 0, 0.55);
}
.bgqr-panel {
	position: relative;
	padding: 36px 16px 14px;
	text-align: center;
}
.bgqr-code {
	width: 220px;
	height: 220px;
	margin: 0 auto;
}
.bgqr-code svg {
	display: block;
	width: 100%;
	height: 100%;
}
.bgqr-url {
	margin: 8px 0 0;
	max-width: 220px;
	font: 12px/1.4 system-ui, sans-serif;
	color: #555;
	overflow-wrap: anywhere;
}
.bgqr-close {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 32px;
	height: 32px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: #444;
	font: 24px/1 system-ui, sans-serif;
	cursor: pointer;
}
.bgqr-close:hover,
.bgqr-close:focus-visible {
	background: #eee;
}

@media (max-width: 600px) {
	.bgqr-code {
		width: 78vw;
		height: 78vw;
	}
	.bgqr-url {
		max-width: 78vw;
	}
}
