/**
 * Phone QR Code Transfer - Flat Design Styles
 * Version: 2.2.0
 * 布局：纵向 flex，图 → 文字 → 二维码，间距统一压缩
 */

.phone-qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px; /* 图片→文字 与 文字→二维码 间距相同，较原间距缩短 50% */
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-radius: 16px;
    padding: 16px 16px;
    margin: 12px auto;
    max-width: 1035px;
    box-shadow: 0 4px 18px rgba(90, 108, 125, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-sizing: border-box;
    font-family: "幼圆", "YouYuan", "Microsoft YaHei", sans-serif;
}

/* 顶部：魔理沙像素图（圆形框，保持原效果） */
.phone-qr-image-wrap {
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(90, 108, 125, 0.12);
    overflow: hidden;
    flex-shrink: 0;
}

.phone-qr-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    image-rendering: pixelated; /* 像素图/拼豆风格保持清晰 */
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

/* 中部：文字 */
.phone-qr-text {
    margin: 0;
    font-size: 13px;
    color: #4a5568;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-align: center;
    line-height: 1.3;
}

/* 底部：二维码（无边框、无说明） */
.phone-qr-code {
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    line-height: 0;
}

.phone-qr-code img,
.phone-qr-code canvas {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

/* 响应式：小屏更紧凑 */
@media (max-width: 560px) {
    .phone-qr-container {
        padding: 14px 12px;
    }
    .phone-qr-image-wrap {
        width: 76px;
        height: 76px;
    }
    .phone-qr-text {
        font-size: 12px;
    }
}
