.float_qq li.float_qq2 {
    --wechat-red: #d23a49;
    --wechat-gold: #f2b741;
    --wechat-ink: #30210c;
    width: max-content;
    transform: translateX(0);
    transition: transform .2s ease;
}

.float_qq li.float_qq2:hover,
.float_qq li.float_qq2:focus-within {
    transform: translateX(calc(50px - 100%));
}

.float_qq .wechat-copy {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    height: 50px;
    max-width: 100vw;
    padding: 0 16px 0 13px;
    gap: 13px;
    border: 0;
    border-radius: 6px 0 0 6px;
    background: var(--wechat-red);
    color: white;
    font: inherit;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 600;
    cursor: pointer;
}

.float_qq .wechat-copy img {
    width: 24px;
    height: 24px;
    flex: none;
}

.float_qq .wechat-id {
    white-space: nowrap;
}

.float_qq li:hover > .wechat-copy,
.float_qq .wechat-copy:focus {
    background: var(--wechat-gold);
    color: var(--wechat-ink);
}

.float_qq .wechat-copy:focus-visible {
    outline: 2px solid var(--wechat-ink);
    outline-offset: -3px;
}

.float_qq .wechat-status {
    position: absolute;
    right: 6px;
    bottom: calc(100% + 6px);
    padding: 6px 12px;
    border-radius: 4px;
    background: #30210c;
    color: white;
    font-size: 14px;
    white-space: nowrap;
    pointer-events: none;
}

.float_qq .wechat-status:empty {
    padding: 0;
}

@media (prefers-reduced-motion: reduce) {
    .float_qq li.float_qq2 { transition: none; }
}
