/* Scoped homepage component; no external fonts, SDKs or tracking. */
.yuqi-home-contact {
    position: fixed;
    right: max(24px, env(safe-area-inset-right));
    bottom: calc(24px + env(safe-area-inset-bottom));
    z-index: 90;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.yuqi-home-contact__link {
    display: flex;
    min-height: 58px;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    padding: 10px 16px;
    border: 1px solid rgba(53, 195, 212, .5);
    border-radius: 6px;
    background: #0f1f32;
    color: #f5f7fa;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .25);
    text-decoration: none;
}
.yuqi-home-contact__link:hover { background: #12253b; border-color: #35c3d4; }
.yuqi-home-contact__link:focus-visible { outline: 3px solid #35c3d4; outline-offset: 4px; }
.yuqi-home-contact__icon { flex: none; color: #35c3d4; }
.yuqi-home-contact__copy { display: grid; gap: 3px; }
.yuqi-home-contact__label { font-size: 14px; line-height: 18px; font-weight: 600; }
.yuqi-home-contact__service { font-size: 11px; line-height: 14px; color: #aab6c5; }
.yuqi-home-contact__arrow { font-size: 16px; line-height: 20px; color: #aab6c5; }
.yuqi-home-contact__note {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    width: 228px;
    max-width: calc(100vw - 48px);
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 4px;
    background: #0f1f32;
    color: #f5f7fa;
    font-size: 12px;
    line-height: 1.6;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.yuqi-home-contact:focus-within .yuqi-home-contact__note,
.yuqi-home-contact:hover .yuqi-home-contact__note { opacity: 1; visibility: visible; }
body.menu-open .yuqi-home-contact { visibility: hidden; pointer-events: none; }
body.menu-open .yuqi-home-contact__note { visibility: hidden; }
.yuqi-home-contact--obstructed { visibility: hidden; pointer-events: none; }
.yuqi-home-contact--obstructed .yuqi-home-contact__note { visibility: hidden; }
@media (min-width: 601px) {
    /* Keep the existing carousel controls clear of the new corner entry. */
    body.yuqi-home-contact-enabled .hero-bottom { padding-right: 220px; }
}
@media (max-width: 600px) {
    .yuqi-home-contact { right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); }
    .yuqi-home-contact__link { min-height: 52px; gap: 8px; padding: 8px 12px; }
    .yuqi-home-contact__label { font-size: 13px; }
    .yuqi-home-contact__service { font-size: 10px; }
    .yuqi-home-contact__icon { width: 20px; height: 20px; }
    body.yuqi-home-contact-enabled .hero-bottom { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
    body.yuqi-home-contact-enabled .hero-context { bottom: calc(132px + env(safe-area-inset-bottom)); }
}
