.qr-code-container {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: rgb(255 255 255 / 79%);
    border-radius: 12px;
    padding: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgb(0 0 0 / 9%);
	box-shadow: 2px 8px 13px rgb(0 0 0 / 10%);
	z-index: 999;
}

.qr-code-content svg {
    width: 100px;
    height: 100px;
    display: block;
    margin: 0 auto;
}

/* A saved QR Studio design shown on the page renders into a <canvas> instead of
   the inline SVG. Cap it at the SAME 100px so picking a design never resizes the
   card — the floating card stays small and unobtrusive (the share popup and
   dashboard modal render bigger, at 256). height stays auto — the canvas is drawn
   at its intrinsic ratio, and pinning a height would stretch (and break the
   scannability of) the code. */
.qr-code-content canvas {
    max-width: 100px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Profile picture overlay centered on the inline-SVG QR. Kept small (22%) so
   the QR's ECC-H error correction still leaves it scannable. */
.qr-code-svg-wrap {
    position: relative;
    display: inline-block;
    line-height: 0;
}
.qr-profile-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28%;
    height: 28%;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #fff;
    object-fit: cover;
    pointer-events: none;
}
/* round the center logo image inside the QR */
.qr-code-content svg #qr-logo image{
    clip-path: inset(0 round 12%);
}

.qr-code-text {
    font-size: 12px;
    text-align: center;
	margin-top: 4px;
    margin-bottom: 4px;
    color: #666;
    font-weight: 500;
}

.desktop-only {
    display: block;
}

@media (max-width: 1000px) {
    .desktop-only {
        display: none !important;
    }
}