.dg .dg-kakao-contact {
    position: fixed;
    right: calc(1.5rem + env(safe-area-inset-right, 0px));
    bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
    z-index: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .625rem;
    width: 12.5rem;
    height: 3.5rem;
    padding: 0 1rem;
    border: 1px solid #e5cd00;
    border-radius: 8px;
    background: #fee500;
    color: #191919;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
    font-size: .9375rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
    text-decoration: none;
}
.dg-kakao-contact__icon {
    display: block;
    flex: 0 0 2rem;
    width: 2rem;
    height: 2rem;
    object-fit: contain;
}
.dg-kakao-contact__label { white-space: nowrap; }
.dg .dg-kakao-contact:hover { background: #f5dc00; }
.dg .dg-kakao-contact:focus-visible { outline: 3px solid #191919; outline-offset: 4px; }
/* Leave the footer controls reachable below the floating button. */
.dg-ft { padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px)); }
body:has(.dg-mnav.open, .dg-pop:not([hidden]), #ctPrivacy:not([hidden])) .dg-kakao-contact {
    display: none;
}
@media (max-width: 767px) {
    .dg .dg-kakao-contact {
        right: calc(1rem + env(safe-area-inset-right, 0px));
        bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
        width: 3.5rem;
        height: 3.5rem;
        padding: 0;
        gap: 0;
        border-radius: 50%;
    }
    .dg-kakao-contact__label { display: none; }
    body:has(input:focus, textarea:focus, [contenteditable="true"]:focus) .dg-kakao-contact { display: none; }
}
@media print {
    .dg .dg-kakao-contact { display: none; }
    .dg-ft { padding-bottom: 0; }
}
