.iruak-back-to-top {
    position: fixed;
    right: max(20px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
    z-index: 80;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: #fff;
    background: linear-gradient(135deg, rgba(15, 73, 142, .32), rgba(6, 42, 89, .22));
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 12px;
    box-shadow: 0 9px 24px rgba(6, 42, 89, .13), inset 0 1px 0 rgba(255, 255, 255, .22);
    -webkit-backdrop-filter: blur(14px) saturate(118%);
    backdrop-filter: blur(14px) saturate(118%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(9px) scale(.96);
    transition: opacity .24s ease, visibility .24s ease, transform .24s ease, background-color .24s ease;
    cursor: pointer;
}

.iruak-back-to-top.is-visible {
    opacity: .88;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.iruak-back-to-top:hover {
    opacity: 1;
    background: linear-gradient(135deg, rgba(15, 73, 142, .45), rgba(6, 42, 89, .32));
    transform: translateY(-2px);
}

.iruak-back-to-top:focus-visible {
    outline: 2px solid #ff8d00;
    outline-offset: 3px;
    opacity: 1;
}

.iruak-back-to-top svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 640px) {
    .iruak-back-to-top {
        right: max(14px, env(safe-area-inset-right));
        bottom: max(14px, env(safe-area-inset-bottom));
        width: 42px;
        height: 42px;
        border-radius: 11px;
    }

    .iruak-back-to-top svg {
        width: 18px;
        height: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .iruak-back-to-top {
        transition: none;
    }
}
