/* Botão "Pedir Anime" — header + bolha flutuante */

.hf-request-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ff9a6b);
    color: #fff !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1;
    box-shadow: 0 4px 14px rgba(255, 107, 107, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    flex-shrink: 0;
}

.hf-request-btn i {
    font-size: 13px;
}

.hf-request-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.45);
    opacity: 0.95;
    color: #fff !important;
}

#az-request-bubble {
    position: fixed;
    right: 16px;
    bottom: calc(var(--az-bottom-nav-height, 52px) + 14px);
    z-index: 10050;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff6b6b, #ff9a6b);
    color: #fff;
    padding: 12px 16px;
    border-radius: 30px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    max-width: calc(100vw - 32px);
    pointer-events: auto;
}

#az-request-bubble:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    color: #fff;
}

#az-request-bubble .az-icon {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

#az-request-bubble .az-label {
    line-height: 1.2;
}

#az-request-bubble .az-label--short {
    display: none;
}

/* Header: esconde em telas menores (bolha flutuante cobre mobile) */
@media (max-width: 900px) {
    .hf-request-btn {
        display: none !important;
    }
}

/* Mobile: bolha compacta */
@media (max-width: 480px) {
    #az-request-bubble {
        right: 12px;
        bottom: calc(var(--az-bottom-nav-height, 52px) + 10px);
        padding: 11px 13px;
        font-size: 13px;
        border-radius: 26px;
    }

    #az-request-bubble .az-label--long {
        display: none;
    }

    #az-request-bubble .az-label--short {
        display: inline;
    }
}

/* Evita sobrepor o botão voltar ao topo quando visível */
body:has(.back-to-top.show) #az-request-bubble {
    bottom: calc(var(--az-bottom-nav-height, 52px) + 56px);
}
