.footer-socials .social-link {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid var(--line, rgba(148, 163, 184, 0.2));
    border-radius: 999px;
    background: transparent;
    color: var(--ink-soft, var(--text-muted, #91a4bd));
    font: inherit;
    font-size: 0.82rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.footer-socials .social-link:hover,
.footer-socials .social-link:focus-visible {
    border-color: var(--line-bright, rgba(89, 228, 255, 0.34));
    background: rgba(89, 228, 255, 0.055);
    color: var(--ink, var(--text, #f4f7fb));
    transform: translateY(-1px);
    outline: none;
}

.footer-socials .social-link svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: currentColor;
}

.footer-socials .social-link-wide {
    white-space: nowrap;
}

.footer-tagline[aria-hidden="true"] {
    max-width: none;
    height: 1.25rem;
    min-height: 0;
    margin: 0;
    font-size: 0;
    line-height: 0;
}

.pp-wechat-popover {
    position: fixed;
    z-index: 10000;
    width: min(224px, calc(100vw - 32px));
    padding: 14px;
    border: 1px solid rgba(89, 228, 255, 0.24);
    border-radius: 18px;
    background: rgba(7, 17, 31, 0.98);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.025) inset;
    color: #f4f7fb;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.98);
    transform-origin: bottom center;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.pp-wechat-popover.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.pp-wechat-popover img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    padding: 8px;
    border-radius: 12px;
    background: #ffffff;
}

.pp-wechat-popover strong,
.pp-wechat-popover span {
    display: block;
}

.pp-wechat-popover strong {
    margin-top: 10px;
    font-size: 0.92rem;
    font-weight: 650;
    letter-spacing: 0.02em;
}

.pp-wechat-popover span {
    margin-top: 4px;
    color: #91a4bd;
    font-size: 0.76rem;
}

.pp-footer-toast {
    position: fixed;
    z-index: 10001;
    left: 50%;
    bottom: max(24px, calc(env(safe-area-inset-bottom) + 16px));
    width: max-content;
    max-width: calc(100vw - 32px);
    padding: 11px 16px;
    border: 1px solid rgba(89, 228, 255, 0.22);
    border-radius: 12px;
    background: rgba(7, 17, 31, 0.96);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.35);
    color: #f4f7fb;
    font-size: 0.84rem;
    line-height: 1.5;
    text-align: center;
    opacity: 0;
    transform: translate(-50%, 10px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
}

.pp-footer-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (max-width: 767px) {
    .footer-socials .social-link {
        min-height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-socials .social-link,
    .pp-wechat-popover,
    .pp-footer-toast {
        transition: none;
    }
}
