.cyxy-mobile-qr-entry {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 14px 12px;
    padding: 12px;
    border: 1px solid rgba(37, 211, 255, 0.18);
    border-radius: 14px;
    color: #10233f;
    background: linear-gradient(135deg, rgba(240, 248, 255, 0.98), rgba(226, 240, 255, 0.92));
    box-shadow: 0 10px 28px rgba(22, 93, 255, 0.12);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.cyxy-mobile-qr-entry:hover {
    transform: translateY(-1px);
    border-color: rgba(22, 93, 255, 0.38);
    box-shadow: 0 14px 34px rgba(22, 93, 255, 0.18);
}

.cyxy-mobile-qr-entry-logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    object-fit: cover;
    background: #0b2a55;
}

.cyxy-mobile-qr-entry-main {
    flex: 1;
    min-width: 0;
}

.cyxy-mobile-qr-entry-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.cyxy-mobile-qr-entry-desc {
    display: block;
    margin-top: 2px;
    color: #6b7890;
    font-size: 12px;
    line-height: 1.3;
}

.cyxy-mobile-qr-entry-arrow {
    color: #165dff;
    font-size: 14px;
}

.profile-img-wrap[data-mobile-qr-trigger],
#profile-img[data-mobile-qr-trigger] {
    cursor: pointer;
}

.profile-img-wrap[data-mobile-qr-trigger]:after {
    content: "扫码";
    position: absolute;
    right: -6px;
    bottom: -6px;
    padding: 3px 7px;
    border: 1px solid rgba(37, 211, 255, 0.38);
    border-radius: 999px;
    color: #dff9ff;
    background: linear-gradient(135deg, #165dff, #22d3ee);
    box-shadow: 0 8px 18px rgba(22, 93, 255, 0.32);
    font-size: 12px;
    line-height: 1;
}

.cyxy-mobile-qr-mask {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(3, 12, 28, 0.68);
    backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.cyxy-mobile-qr-mask.is-open {
    opacity: 1;
    pointer-events: auto;
}

.cyxy-mobile-qr-panel {
    position: relative;
    width: min(390px, calc(100vw - 42px));
    padding: 24px;
    overflow: hidden;
    border: 1px solid rgba(117, 191, 255, 0.28);
    border-radius: 28px;
    color: #eaf6ff;
    background:
        radial-gradient(circle at 22% 12%, rgba(37, 211, 255, 0.22), transparent 28%),
        radial-gradient(circle at 82% 10%, rgba(22, 93, 255, 0.24), transparent 30%),
        linear-gradient(145deg, rgba(8, 23, 48, 0.94), rgba(10, 39, 78, 0.88));
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: scale(.82) translateY(18px);
    transform-origin: var(--cyxy-qr-origin-x, 50%) var(--cyxy-qr-origin-y, 50%);
    transition: transform .2s ease, opacity .2s ease;
}

.cyxy-mobile-qr-mask.is-open .cyxy-mobile-qr-panel {
    transform: scale(1) translateY(0);
}

.cyxy-mobile-qr-panel:before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .22;
    background-image:
        linear-gradient(rgba(125, 190, 255, .18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(125, 190, 255, .18) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
}

.cyxy-mobile-qr-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    color: #dff8ff;
    background: rgba(255, 255, 255, 0.08);
    line-height: 28px;
    text-align: center;
    font-size: 22px;
    cursor: pointer;
}

.cyxy-mobile-qr-head,
.cyxy-mobile-qr-box,
.cyxy-mobile-qr-foot {
    position: relative;
    z-index: 1;
}

.cyxy-mobile-qr-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.cyxy-mobile-qr-logo {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    object-fit: cover;
    background: #0b2a55;
    box-shadow: 0 10px 26px rgba(37, 211, 255, 0.18);
}

.cyxy-mobile-qr-title {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .02em;
}

.cyxy-mobile-qr-subtitle {
    margin: 4px 0 0;
    color: rgba(227, 242, 255, 0.72);
    font-size: 13px;
}

.cyxy-mobile-qr-box {
    display: flex;
    justify-content: center;
    padding: 18px;
    border: 1px solid rgba(37, 211, 255, 0.18);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: inset 0 0 0 1px rgba(22, 93, 255, 0.08);
}

.cyxy-mobile-qr-box canvas,
.cyxy-mobile-qr-box img {
    width: 220px !important;
    height: 220px !important;
    display: block;
}

.cyxy-mobile-qr-foot {
    margin-top: 16px;
    text-align: center;
}

.cyxy-mobile-qr-url {
    display: block;
    margin-bottom: 8px;
    color: #9ddcff;
    font-size: 12px;
    word-break: break-all;
}

.cyxy-mobile-qr-tip {
    margin: 0;
    color: rgba(234, 246, 255, 0.78);
    font-size: 13px;
}

@media (max-width: 480px) {
    .cyxy-mobile-qr-panel {
        padding: 20px;
    }

    .cyxy-mobile-qr-box canvas,
    .cyxy-mobile-qr-box img {
        width: 190px !important;
        height: 190px !important;
    }
}
