.pet-home .pet-back-top {
    position: fixed;
    right: max(24px, env(safe-area-inset-right));
    bottom: max(24px, env(safe-area-inset-bottom));
    z-index: 30;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 48px;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid var(--pet-primary);
    border-radius: 999px;
    background: var(--pet-primary);
    color: #fff;
    box-shadow: 0 4px 18px #20272226;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
}
.pet-home .pet-back-top:hover { background: var(--pet-hover); }
.pet-home .pet-back-top:focus-visible { outline: 3px solid #a15435; outline-offset: 4px; }
.pet-home .pet-back-top svg { flex: none; }
@media (max-width: 767px) {
    .pet-home .pet-back-top {
        right: max(16px, env(safe-area-inset-right));
        bottom: max(16px, env(safe-area-inset-bottom));
        width: 48px;
        height: 48px;
        padding: 12px;
    }
    .pet-home .pet-back-top span {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}
