.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;
}

body.pp-market-hint-visible {
    padding-top: var(--pp-market-hint-height, 0px);
}

.pp-market-recommendation {
    position: fixed;
    z-index: 390;
    top: var(--nav-height, 76px);
    right: 0;
    left: 0;
    border-bottom: 1px solid rgba(89, 228, 255, 0.28);
    background: linear-gradient(100deg, rgba(13, 32, 55, 0.99), rgba(21, 27, 60, 0.99));
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
    color: #f4f7fb;
    font-family: "Outfit", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.pp-market-recommendation-inner {
    width: min(1240px, calc(100vw - 40px));
    min-height: 62px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

.pp-market-recommendation-label {
    flex: 0 0 auto;
    color: #59e4ff;
    font: 600 0.64rem/1.2 "DM Mono", monospace;
    letter-spacing: 0.14em;
}

.pp-market-recommendation p {
    flex: 1 1 auto;
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.5;
}

.pp-market-recommendation-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    flex: 0 0 auto;
}

.pp-market-recommendation-actions a,
.pp-market-recommendation-actions button {
    font: inherit;
    font-size: 0.8rem;
    white-space: nowrap;
}

.pp-market-recommendation-actions a {
    padding: 8px 12px;
    border: 1px solid rgba(89, 228, 255, 0.45);
    border-radius: 999px;
    background: rgba(89, 228, 255, 0.08);
    color: #d8f8ff;
    text-decoration: none;
}

.pp-market-recommendation-actions a:hover,
.pp-market-recommendation-actions a:focus-visible {
    background: rgba(89, 228, 255, 0.18);
}

.pp-market-recommendation-actions button,
.pp-market-recommendation-close {
    border: 0;
    background: none;
    color: #b7c4d8;
    cursor: pointer;
}

.pp-market-recommendation-actions button:hover,
.pp-market-recommendation-close:hover {
    color: #ffffff;
}

.pp-market-recommendation-close {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    padding: 0;
    font-size: 1.3rem;
    line-height: 1;
}

@media (max-width: 860px) {
    .pp-market-recommendation-inner {
        flex-wrap: wrap;
        gap: 8px 12px;
        padding: 12px 0;
    }

    .pp-market-recommendation p {
        flex-basis: calc(100% - 100px);
        font-size: 0.82rem;
    }

    .pp-market-recommendation-actions {
        order: 3;
        flex-basis: 100%;
        justify-content: flex-start;
    }

    .pp-market-recommendation-close {
        position: absolute;
        top: 11px;
        right: 18px;
    }
}

@media (max-width: 430px) {
    .pp-market-recommendation-label {
        display: none;
    }

    .pp-market-recommendation p {
        padding-right: 28px;
    }

    .pp-market-recommendation-actions {
        gap: 8px;
    }
}

.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;
    }
}
