.fp-recipe-return {
    box-sizing: border-box;
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    padding: 0;
    border: 1px solid rgba(65, 145, 255, 0.38);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.94);
    color: #0878e8;
    box-shadow: 0 9px 24px rgba(18, 98, 179, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.fp-recipe-return[hidden] {
    display: none !important;
}

.fp-recipe-return:hover {
    border-color: rgba(0, 132, 255, 0.72);
    box-shadow: 0 12px 28px rgba(18, 98, 179, 0.18);
    transform: translateY(-1px);
}

.fp-recipe-return:active {
    transform: scale(0.96);
}

.fp-recipe-return:focus-visible {
    outline: 3px solid rgba(0, 132, 255, 0.24);
    outline-offset: 3px;
}

.fp-recipe-return svg {
    width: 21px;
    height: 21px;
}

.fp-recipe-return path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fp-recipe-return--floating {
    position: fixed;
    z-index: 1200;
    top: max(12px, env(safe-area-inset-top));
    left: max(12px, env(safe-area-inset-left));
}

html[data-theme="dark"] .fp-recipe-return,
body.dark .fp-recipe-return,
body.dark-theme .fp-recipe-return {
    border-color: rgba(74, 178, 255, 0.42);
    background: rgba(15, 45, 63, 0.96);
    color: #50c5ff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

@media (max-width: 720px) {
    .fp-recipe-return {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        border-radius: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fp-recipe-return {
        transition: none;
    }
}
