:root {
    --primary-color: #00A1E9;
}

.primary-color {
    color: var(--primary-color) !important;
}

.primary-bg {
    background-color: var(--primary-color) !important;
}
.home-upload-btn {
    position: fixed;
    right: 20px;
    bottom: 98px;
    z-index: 100;
    background: linear-gradient(135deg, #08796d, #0b5f80);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .78);
    box-shadow: 0 10px 24px rgba(7, 67, 83, .26);
    font-size: 21px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.home-upload-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(7, 67, 83, .34);
}

@media (max-width: 767.98px) {
    .home-upload-btn {
        right: 16px;
        bottom: 86px;
        width: 48px;
        height: 48px;
        font-size: 19px;
    }
}

/* Footer social profile card: readable content and crawlable destination alongside the QR image. */
.footer-xiaohongshu {
    display: flex;
    align-items: center;
    gap: clamp(20px, 4vw, 52px);
    max-width: 860px;
    margin: 16px auto 0;
    padding: 0;
}

.footer-xiaohongshu__image-link {
    display: block;
    flex: 0 0 180px;
}

.footer-xiaohongshu__image-link img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .25s ease;
}

.footer-xiaohongshu__content {
    color: #fff;
}

.footer-xiaohongshu__eyebrow {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, .75);
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.footer-xiaohongshu h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 800;
}

.footer-xiaohongshu p {
    max-width: 570px;
    margin: 0 0 14px;
    color: rgba(255, 255, 255, .88);
    line-height: 1.65;
}

.footer-xiaohongshu__cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-xiaohongshu__cta:hover,
.footer-xiaohongshu__cta:focus-visible {
    color: #dce2ff;
}

@media (max-width: 575px) {
    .footer-xiaohongshu {
        align-items: flex-start;
        gap: 16px;
        margin-top: 4px;
    }

    .footer-xiaohongshu__image-link {
        flex-basis: 122px;
    }

    .footer-xiaohongshu h2 {
        font-size: 1.08rem;
        line-height: 1.35;
    }

    .footer-xiaohongshu p {
        font-size: .82rem;
    }
}
